[GH #6879] Hide columns & nested headers issue

Hi,

I noticed a problem while trying to use the “hide column” option on a table with nested headers - the colspan property of a header from the first row of headers is not properly updated when some of the columns are hidden. It seems to be a problem in the newer version(s), this worked just fine in a older version.

I have the same table (with 2 groups of columns, 3 + 4) set up in 2 fiddles:

  1. Using handsontable-pro@6.1.1: https://jsfiddle.net/roxanalupu1981/46q7vkb8/3/ - in this one, if I hide a column from the first group of columns, the header of the group is adjusted accordingly to go over 2 columns:

  1. Using the current version from the cdn: https://jsfiddle.net/roxanalupu1981/q1rLudcn/98/ - in this one, if I hide a column from the first group, the header of the group keeps the original colspan and extends over the next group, shifting everything to the right:

Hi @roxanalupu1981

I have good news. We are already working on it under this issue https://github.com/handsontable/handsontable/issues/6879 and it should be fixed within the next version planned for the 2nd week of May.

I will notify you once we release the version.

Hi @roxanalupu1981

I just wanted to let you know that we have just released Handsontable v8.4.0 that fixes this issue (reported at https://github.com/handsontable/handsontable/issues/6879)

Here’s a full list of changes for the version https://github.com/handsontable/handsontable/issues/7998

If you’d have any questions please feel free to send me an email at support@handsontable.com