Save and reload state for multi filter select?
Save and reload state for multi filter select?
jhol
Posts: 2Questions: 1Answers: 0
I'm using this example,
https://datatables.net/examples/api/multi_filter_select.html
but I need to have the state save and reset when the page reloads. Any advice?
This discussion has been closed.
Answers
I think I got what I needed by adding
stateSave: true
and this line to the bottom (right under the column.data().unique().sort().each function)select.val(column.search().slice(1, -1).replace('\\', ''));