What would cause the dropdown for savedStates to be empty

What would cause the dropdown for savedStates to be empty

ksmithksmith Posts: 2Questions: 1Answers: 0

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

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    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

  • ksmithksmith Posts: 2Questions: 1Answers: 0

    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!

Sign In or Register to comment.