Incorrect behaviour during state restore in datatable

In some cases columns which are hidden in a state are not correctly hidden while restoring said state. For example in following snippet: Code Snippet
Expected behaviour: title and year are hidden.
If the state is restored a second time the columns are correctly hidden

This seems to be corresponding to the column configuration. Above example works completely fine if the column configuration and the “ids”-Array of the state are in the same order .
https://snippet.webix.com/wnllecnn

This worked fine in 11.1

Hello,

I can confirm the behaviour to be a bug related to the changes in columns updating from v.11.2. Thank you for a report!
We will fix it and notify you.

2 Likes

Hello @Jendrik ,
The issue has been fixed in the recent release Version 11.4, What's New Webix Docs .