Disable state save for KeyTable
Disable state save for KeyTable
keker
Posts: 14Questions: 4Answers: 1
There is a way to disable state save for focused cell? To not save the focused cell after reloading the table.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @keker ,
The state is only saved if
stateSave
is enabled (see here), otherwise reloading the table takes it back to its initial state (see here).Cheers,
Colin
I need stateSave only for ColVis plugin.
Ah, by default, it's not selective, it saves everything. If you want to be specific, you'll need to overwrite the default behaviour in the
stateLoadParams
callback - see this example here.Cheers,
Colin
Thank you!