2 Replies Latest reply on Jan 14, 2010 8:51 AM by Pavel Zelenka

    rich:column filterBy

    Pavel Zelenka Newbie

       

      Hi,

       

      I have rich:table and some columns use filterBy feature. Is there any way how to set size of filterBy input boxes separately? I think there is not. So I tried this:

       

      <rich:column filterExpression="#{fn:startsWith(item.cislo,VykladkaBean.currentCisloFilterValue)}">
           <f:facet name="header">
                <h:inputText id="x" value="#{VykladkaBean.currentCisloFilterValue}" style="width:30px">
                     <a4j:support event="onkeyup" reRender="table"/>
                </h:inputText>
           </f:facet>

           ....

       

      filtering works but problem is that cursor doesn't stay in the inputText as in built-in filterBy feature

       

      Can anybody help?

       

      Thanks