My datatable has about 1000 items in it. If I go to page 5 and then navigate to something else on the page, I need to set the current page for the data that the datatable is trying to collect, but no rows are displayed, because it seems to "remember" the last page it was at.
I'd like to set the current page to the first page in the managed bean - it there a way to do this?
I've seen you can add an event like this in an onclick, but I think my only choice will be to add this to say, the method in my lazyloader - to ensure it's on the first page when there are less than pagesize items to display:
myWidget.getPaginator().setPage(0);
Thanks, Mike