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

    Built in

    shub shub Newbie


      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}"
       <a4j:support event="onkeyup" ignoreDupResponses="true"
       requestDelay="1000" />
       <f:facet name="header">
       <h:outputText value="#{t.relations_startNumber}" />
       <h:outputText value="#{data.startNumber}" />

      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:outputText value="#{cap.state}" />

      Thanks in advance