SaveState set to true, how can i read the active filter ?

SaveState set to true, how can i read the active filter ?

bartdereubartdereu Posts: 10Questions: 5Answers: 0
edited March 2019 in Free community support

I want to put the active filter in my input box, and make the user clear that the table has been filtered.
I tried

 "stateLoadCallback": function (settings, callback) {
            console.log(settings);
            $('#form-search-input').val(settings.oSavedState.search.search);
}

The settings object gives me the value in settings.oSavedState.search.search, but when i
try to set my input , the settings.oSavedState is null..

strange ! any ideas?

Answers

This discussion has been closed.