3 Replies Latest reply on Jul 21, 2008 7:19 AM by Dragos

    datascroller maxPages attribute doesn't work?

    Dragos Newbie

      Hello, I have a datascroller component that controls a table with a lot of rows (more than 10000):

      <rich:datascroller for="tblCatalogContent" maxPages="10" stepControls="auto"
       align="right" id="scrollCatalogContent"
       renderIfSinglePage="false"
       scrollerListener="#{catalogLineDataModel.invalidate}" />


      The rows attribute of the table is set to 10. The datascroller displays all the page navigation controls (10000/10 = 100+) and the page becomes extremely large.

      My understanding is that the maxPages attribute of the datascroller limit the maximum of the displayed page controls in datascrollerbut it seems that it doesn't.

      I use richfaces 3.20

      Thanks for any help