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)
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.
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?
Handsontable doesn’t support those two plugins natively yet. We’ve logged an internal issue for this and I’ll let you know as soon as we introduce support.
Let me know if there’s anything else I can help you with in the meantime.
At the moment this issue isn’t scheduled in any upcoming sprint, so we don’t have an ETA. We’re focused on other priorities right now. As soon as we plan to address it, I’ll let you know.
Maybe there is some other way to hide the columns that are part of the collapsibleColumns group? If the problem is old, surely there have already been some attempts to hide the columns without using the hiddenColumns plugin?
I tried to implement the behavior of the collapsipleColumns plugin using the hiddenColumns plugin, but the attempt was unsuccessful. The exact reproduction did not work out, besides, there are bugs and poor performance of such a solution.