3 Replies Latest reply on Aug 6, 2009 10:19 AM by Michael Buzov

    rich:datacroller number of all pages

    Michael Buzov Newbie

      Hi!

      I'm using datascroller like this:

       <rich:dataTable id="table" rows="15" value="#{myBean.allInteractions}" var="interaction">
      
       <rich:column id="time"... >
       ...
       </rich:column>
      
       <rich:column id="consumerId"... >
       ...
       </rich:column>
      
       <rich:column id="producerId"... >
       ...
       </rich:column>
      
       ...
      
       </rich:dataTable>
      
       <rich:datascroller for="table" id="scroller" />


      And I want ask you, is it possible to show number of all pages in the table?
      There are 42 pages for example, but it's show only 10 (I can control this with maxPages attribute).

      Is it possible to show for example like this: 1 2 3 4 5 6 7 8 .. 42 ?

      Thank you in advance!