2 Replies Latest reply on Nov 10, 2008 12:32 PM by shub shub

    Built in

    shub shub Newbie

      Hi!


      im using a <rich:dataTable> and i'm wondering if it possible
      to use the builtin Filtering with "filterBy" together with <a4j:support event="onkeyup" requestDelay="5000" />.

      
       <rich:column filterBy="#{data.startNumber}"
       filterEvent="onkeyup">
      
       <a4j:support event="onkeyup" ignoreDupResponses="true"
       requestDelay="1000" />
      
       <f:facet name="header">
       <h:outputText value="#{t.relations_startNumber}" />
       </f:facet>
      
       <h:outputText value="#{data.startNumber}" />
      
       </rich:column>
      



      Or i have to use a additional UIInput and a Filtermethode to delay the Filter like in the Tutorial
       <rich:column filterMethod="#{filteringBean.filterStates}">
      
       <f:facet name="header">
      
       <h:inputText value="#{filteringBean.filterValue}" id="input">
      
       <a4j:support event="onkeyup" reRender="table"
      
       ignoreDupResponses="true" requestDelay="700" focus="input" />
      
       </h:inputText>
      
       </f:facet>
      
       <h:outputText value="#{cap.state}" />
      
       </rich:column>
      


      Thanks in advance


      Walter