What would cause the dropdown for savedStates to be empty
What would cause the dropdown for savedStates to be empty
![ksmith](https://secure.gravatar.com/avatar/caa16f24fb011cd4ffce39e431d54a8d/?default=https%3A%2F%2Fvanillicon.com%2Fcaa16f24fb011cd4ffce39e431d54a8d_200.png&rating=g&size=120)
in StateRestore
There is no error message.
I can see the saved states in the Local Storage.
Basic setup is:
'createState',
{
extend: 'savedStates',
config: {
creationModal: true,
},
},
Answers
I don't know I'm afraid. If you link to a test case showing the issue, I'd be happy to have a look. The code you have above, appears to work well in this example.
Allan
Allan, thank you for getting back to me.
I moved forward utilizing the API calls:
table.stateRestore.state(state).load();
and
table.stateRestore.state(oldFilterName).rename(newName); etc.
with a custom button and modal.
I will however link to a test case showing the issue so i can see what the heck I am doing wrong.
Cheers!