stateSave/Load on button click and stateLoadCallback not working
stateSave/Load on button click and stateLoadCallback not working
I'm working on saving and loading custom searches upon a button click. This would allow a user to save their most used configurations(states) and apply them to a search between date ranges. I'm able to save the state in a JSON file and I was able to load it too. This is still not being done through a button click though. The only problem with loading was that the column filters would not get applied and would cause records to not show. As I was trying to get the records to display and apply the search filters stateLoadCallback stopped working. Aside from this I have not been able to find an example that shows how you could load a state on button click. As for saving it, I believe I should be able to do so by using the api state.save() and manually setting it in localStorage. This is my tables debug info http://debug.datatables.net/eharel