Save and reload state for multi filter select?

Save and reload state for multi filter select?

jholjhol 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?

Answers

  • jholjhol Posts: 2Questions: 1Answers: 0
    edited April 2019

    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('\\', ''));

This discussion has been closed.