JQuery1.8 Datatables saving state on click of a button

JQuery1.8 Datatables saving state on click of a button

swathi_ethirajswathi_ethiraj Posts: 1Questions: 1Answers: 0

I have a jsp with a table and two buttons "home" and "back" in it and have imported jquery.datatable.js(version 1.8.2) in it.

On click of "home" the page should load without the table's state saved and on click of "back" the table should load with its state saved

I have tried setting the "bStateSave" flag true while initializing the data table. This always loads the table with the filter and pagination.

Is there any way I can load the table with saved state on click of "back" button and its original state on click of "home" button

Answers

  • allanallan Posts: 61,840Questions: 1Answers: 10,134 Site admin

    DataTables 1.8 is no longer supported. 1.10.7 is the current release. Please try that version. If it doesn't work, please link to a test case showing the issue, as per the forum rules.

    Allan

This discussion has been closed.