Hello everyone. I ran into a problem related to the fact that the HiddenColumns and CollapsibleColumns plugins do not work together, as they break the table structure.
For example, I want to hide the план column in the Итог section for three blocks (their indexes are 1, 4, 7)
I expect to see something like this.
But I get this result. Yes, the план columns are hidden. But the table structure is broken. Instead of the blocks becoming 2 columns each (мин and макс only), they still consist of 3 columns, it’s just that the hidden план columns were replaced by neighboring ones from other sections.
With the CollapsibleColumns plugin turned off, everything works fine. The table structure remains correct.
By searching the forum and github, I found similar topics for older versions of the library. But is this bug still active? I’ve attached a snippet below. If you hide the column by index 1, the table structure breaks. And if you comment out the collapsibleColumns
property being passed, then everything works correctly.
If this is still an existing bug, then what about it? Are there any recommended crutches to solve such problems?