2 Replies Latest reply on Nov 2, 2007 8:59 AM by Tomas Huryn

    datascroller

    Jim Gillaspy Newbie

      I have a rich:dataTable that sometimes (based on another component) has as many as 25 pages of 12 lines, and sometimes has one or two pages of 12 lines. I use a rich:datascroller to navigate to the pages.

      First I have the 25 page table in the dataTable, and then I change to the 2 page table in the dataTable.

      My issue is that if I have navigated to page 15 of the 25 page table when I switch to the 2 page table, datascroller retains "Page 15" and the dataTable shows no lines unless I click on the << button.

      Is there a way to reset the datascroller page number to page 1 when I change the underlying List?