7 Replies Latest reply on Sep 26, 2007 7:45 AM by Ilya Shaikovsky

    <rich:dataTable not paging with datascroller

    Alex Newbie

      Hello!

      I use the datascroller on my table, just like in the examples, but it does not work. The datascrooller shows the correct number of pages, When i retrieve my data, all the rows are shown, so changing the page from the scroller doesn't do enything.

      Here is my, code, maybe i am missing something.

       <rich:dataTable id="mainGrid"
       width="100%" rows="10"
       border="0" value='#{selectorBean.model}' var='item'>
       <f:facet name="footer">
       <rich:datascroller align="center" maxPages="15" />
       </f:facet>
      
       <rich:column>
       <h:outputText value="#{item.CA_ID}"/>
       </rich:column>
      
       //..........
      
      </rich:dataTable>
      


      Thanks in advance!