If you try to restore the state of datatable with hidden columns, there will be problems with rendering.
probably the error is because of
setState is used in
try to use it after the datatable is created.
or if you have to use it in
onStructureLoad event, try to use
Thank for your answer. I’ll try.