I’ve encoutered two bugs with datatable columns groups:
-
Column group is broken with webix 8.2.
Just try the column group sample here: https://snippet.webix.com/c79aebd2
“2018” group doesn’t start closed as expected (come columns show)
Ok with webix 8.1 and before. -
Changing columns configuration whereas there is hidden columns scramble the columns of the datatable.
Steps to reproduce:
- Setup columns groups on datatable
- Load data into datatable
- Collapse a columns group
- Re-do a columns groups setup using
table.config.columns=[....] ; table.refreshColumns();
- the columns are scrambled.
If all columns are visible before changing columns config, it’s work. (seems to only occur when some columns are hidden)
Demo here : https://snippet.webix.com/4kj9tb4r
Nota bene:
I’ve didn’t found a good way to retrieve all column ids / config of a datatable including hidden ones. The best way I’ve found for now is to use datatable.getState().order
which contains all columns ids.