Refresh stateSave if number of records change.

Refresh stateSave if number of records change.

AntrikshAntriksh Posts: 33Questions: 5Answers: 0

Hi, I have stateSave as True. But on dataTable redraw, if the number of records update and so does the pagination, i want to refresh the state of the dataTable.

For eg- There are 10 pages, total records - 100
we are on 3rd page. If i redraw, the total records remain 90, pages - 9. So it should change to page 1 and refresh state. Currently it remains on page 3.

@kthorngren Please help.

Replies

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.