Column Reorder: column order automatically resetting to default

Column Reorder: column order automatically resetting to default

drgb88drgb88 Posts: 2Questions: 1Answers: 0

I am using the stateSaveCallback function to save the state of the table in the database, but after one or two hours, the column order will revert to the default order with no action by the user. The column order remains unchanged in the database, but the reordered column state has been lost automatically in the browser. How to prevent this from happening? Does an expiring web session trigger the column reset to default order?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598
    Answer ✓

    Hi @drgb88 ,

    Yep, the default expiry is 7200 seconds, or 2 hours. You can extend this by setting stateDuration,

    Cheers,

    Colin

  • drgb88drgb88 Posts: 2Questions: 1Answers: 0

    Thank you, Colin. I will try this out right away.

This discussion has been closed.