6 Replies Latest reply on Jul 21, 2011 11:11 PM by M M Islam Chisty

    <rich:datascroller>: Reset of page index after re-rendering

    Michael Abele Newbie

      Hi everyone,

      I have a question regarding <rich:datascroller>...

      I have the following use case:
      - User enters some filter criteria and clicks a button to display data in a dataTable
      - Data table is displayed, datascroller shows 10 pages
      - User selects e.g. page index 7 of 10
      - User changes the filter criteria and clicks the button again (New result has only e.g. 3 pages)
      - Data table is empty because the page index stil seems to be set to 7, the user has to select page 1/2/3 manually ...

      My question: Is there a way to set back the page index to 1?

      Thanks in advance&Regards