Body
Hi Handsontable team,
We found an issue when using a custom flow to hide columns and rebuild nested headers.
This does not happen with the default Handsontable nested headers behavior.
It appears only in our case where we must rebuild and re-render nested headers dynamically.
Steps to reproduce
-
Hide a middle column (example: visual column index
4, columnE). -
Observe:
-
console shows correct
hiddenVisualandnextnested headers, -
UI still hides/misaligns more than expected.
-
Expected
After hiding column E, only that column should be removed and parent group colspan should update correctly in UI.
Actual
Even though nestedHeaders passed to updateSettings() is correct, UI renders incorrect nested headers (more than one column/group appears affected).
Question
Is this a known limitation/bug in dynamic nested-header rebuild after hide/show?
Is there a required API/order beyond updateSettings() + render() to force full nested-header recalculation and repaint?
JS fiddle: https://jsfiddle.net/ex3quj02/1/
Handson version: 16.2