How to save only page number in save state?
How to save only page number in save state?
asadnaeem
Posts: 4Questions: 1Answers: 0
Hi,
Say, I have 50 rows and each page is showing 10 rows so there are 5 pages in the datatable. But If I am on page 3 and I delete any records and reload the data in the grid using ajax hit. I am expecting it to bring on the same page. Is it possible?
Regards
Asad Naeem
Answers
Sounds like you are using
ajax.reload()
? If so the second example in the docs show how to stay on the same page.Kevin
@kthorngren second example is not working for me.
@vishwesh3062 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