Pagination being saved but incorrect (first) page always shown
Pagination being saved but incorrect (first) page always shown
earachefl
Posts: 11Questions: 0Answers: 0
I've upgraded to DataTables 1.9.3 and am still having this problem. My page has three main grids, in jQuery tabs, each table using subsets of the same data. When the page is loaded, the datatables are initialized using bStateSave: true. After the data comes back from the server, I run fnClearTable() and fnAddData(data_x) on each table. I also run new FixedHeader(table1) on data load and then destroy and create a new FixedHeader on the appropriate table on tab changes.
The cookies are being stored properly, as I can see if I dump them out. However, even though I can see that the iStart, iEnd, and iLength parameters are correct, the table always goes to page one. The search string cookie works, however... if I type in a search string on any of the tables and come back to the page, the search field is populated correctly in the correct table.
I tried removing the FixedHeader to see if that was interfering with the mechanism, but that didn't work. Any ideas?
The cookies are being stored properly, as I can see if I dump them out. However, even though I can see that the iStart, iEnd, and iLength parameters are correct, the table always goes to page one. The search string cookie works, however... if I type in a search string on any of the tables and come back to the page, the search field is populated correctly in the correct table.
I tried removing the FixedHeader to see if that was interfering with the mechanism, but that didn't work. Any ideas?
This discussion has been closed.