Problems with setState and dynamic loading in datatable

Hello together.

please for a help for this problem:

I’m having problems with dynamically loaded datetables when I call setState(state). Moving columns and making them visible or invisible causes the loaded states of the datatable to become inconsistent. Suddenly, there are two identical columns in the table, and sometimes the entire table is even locked. How can I prevent a discrepancy from occurring when saving with getState() and setState()?

Michael Schrading

Hello Michael

Here you can read the article about Saving and Restoring Component.
I tried to reproduce your issue but in my example everything works correclty.
Please check the snippet: Code Snippet
It would be nice if you provide the example with the reproduced issue so that I could investigate it.

Thanks a lot Natalia.

I will check it out. Possible it’s my fault… somehow

Michael