Problem on retaining selected rows across pages.
Problem on retaining selected rows across pages.
dheemandutta
Posts: 2Questions: 1Answers: 0
Hi
I am using DataTables and I want the mutirow selection feature across pages. Contrary to the examples provide in DatTables (where data is hardcoded) , my data comes from a Controller method for every page . The problem I'm facing is that multi-select is working on a single page but when I move to anothe page and come back on the previous page , all my selections are gone. Please help
This discussion has been closed.
Answers
Are you using the back button to go to the previous page? If so, it is not reloading a fresh page, it is loading a cached page and will not execute the javascript required to reselect the page. (my guess at your issue anyway)
No,I'm using the pagination buttons
I set up a simple test at http://live.datatables.net/doxexici/1/edit and it worked fine. We will probably need to see your code to see if something else is going on.