0 Replies Latest reply on Sep 15, 2009 5:59 PM by Tomek Lebkichler

    DataTable filtering problem

    Tomek Lebkichler Newbie

      Hi All ! First sorry for my english :)

      I've following problem. I'm using a Rich dataTable with columns filtering. All works fine, untill i want to add some new records to the table. After this, the filtering doesn't work anymore. But, when i refresh the page in browser(F5), the filtering starts working fine again...

      This is my jsp.

      <rich:dataTable
       binding="#{Offers.dataTableAjax}"
       id="dataTable1" reRender="datascroller"
       value="#{Offers.allSD}" var="currentRow"> // simple SELECT * from database to put into the dataTable
       <rich:column id="ulica">
       sortable="true" sortBy="#{currentRow.street}"
       filterBy="#{currentRow.street}"
       filterEvent="onkeyup">
       <h:outputText id="outputText9" value="#{currentRow.street}"/>
       <f:facet name="header">
       <h:outputText id="outputText10" value="Street"/>
       </f:facet>
       </rich:column>
      </rich:dataTable>


      The Offers class is in session scope (i try te request also, but this doesn;t help)

      Please help ! :)