5 Replies Latest reply on Mar 10, 2009 6:52 AM by ilya_shaikovsky

    dataDatble with filterBy - datascroller is not rerender corr

      Hello,

      I'm using a datascroller and "filterBy" in a dataTable. The datascroller is working fine. But then filtering the table-data the datascroller is not rerendered correct.

      Example: There is table with 20 records. I'm showing 10 rows on each page. So i have 2 page with 10 rows in the table. The datascroller is fine, so far.

      Now I'm filtering the table, so that I have only 5 records/rows left, for example.
      The datascroller should disappear now, but it's still shown. Only after clicking on the datascroller it is disappearing.

      Now, after deleting the filter input, all records are shown again, but the datascroller is still missing, so that I can not go to the next table-page.

      Could anybody give an advise how to rerender the datascroller immediately (without rerendering the whole page),please

      Here is the short-version of the data-table

      <rich:dataTable value="#{users}" var="item" id="test" rows=10 >
      
      <rich:column filterBy="#{item.userId}" sortBy="#{item.userId}" filterEvent="onkeyup">
       <f:facet name="header" >
       <h:outputText value="#{msg['ps.ui.userId']}" />
       </f:facet>
       <h:outputText value="#{item.userId}" />
       </rich:column>
      
       ... some more columns ...
      
       <f:facet name="footer">
       <rich:datascroller ajaxSingle="false" renderIfSinglePage="false"/>
       </f:facet>
      </rich:dataTable>


      Many thanks