Disable state save for KeyTable

Disable state save for KeyTable

kekerkeker 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

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

  • kekerkeker Posts: 14Questions: 4Answers: 1

    I need stateSave only for ColVis plugin.

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    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

  • kekerkeker Posts: 14Questions: 4Answers: 1

    Thank you!

This discussion has been closed.