Exlipic save and load state

Exlipic save and load state

gborekgborek Posts: 4Questions: 2Answers: 0
edited April 2014 in DataTables 1.9
Hi, any suggestions on the best way to add save/load button to data table? Instead of saveing state user would need to click and provide additional info like name.
Currently... save state is called almost on any action.

Replies

  • allanallan Posts: 61,716Questions: 1Answers: 10,108 Site admin
    There is a feature request bug for something along these lines: https://github.com/DataTables/DataTables/issues/255 . Likely I won't add a `state.restore()` method - i.e. one which would configure the table using the currently saved state, since the saved states assumed to be the current table configuration (i.e. it would be redundant), but I do plan to add the others when I get a chance.

    For additional information look at fnStateSaveParams and fnStateLoadParams .

    Allan
This discussion has been closed.