[GH #6879] Issue with hidden columns in new version of Handsontable

Tags: #<Tag:0x00007f3442708e10> #<Tag:0x00007f3442708af0>

Hello! Since moved to a new version of Hadsontable we have issue with hidden columns and nested headers.

In older version when we set hidden columns with array of indexes it was everything ok with nested headers so they just were collapsed.

In new 8 and vue 5 version nested headers dont collapse or hidding in wierd way

Can you help me why it could behave like this? Thank you!

Hi @akteur33

There’s one connected issue on our Github board https://github.com/handsontable/handsontable/issues/6879. If that does not relate to the behavior in your application please provide any example that will allow me to replicate the same on my device.

Thank you for quick response!

It really seems similar, so I guess I should use the older version or wait for solution.

You know, I wanted to use two versions of this awesome lib in my project so I tried to use npm aliases like this:
npm install handsontable-vue-legacy@npm:@handsontable/vue@4.0.0

But I guess vue handsontable has in its peer dependencies origin handsontable package and it seems I should somehow tell the vue version to use handsontable-legacy version. Sorry if it is too messy. I just want to use both (7 and 8) versions but I dont know exactly how. Because then I should install handsontable alongside but I can have it only one version so vue handsontable can see it and use it…

Handsontable v8.0.0. introduced a range of changes https://handsontable.com/docs/8.0.0/tutorial-release-notes.html that are strictly connected to managing indexes in the table. However, the mentioned issue relates to beta1. Till it is fixed you can try to use beta1 https://cdn.jsdelivr.net/gh/handsontable/handsontable@8.0.0-beta.1/dist/handsontable.full.js
Nevertheless, that is a regression and those have a pretty high priority.

I will keep notified of all the changes made for the following case.

1 Like

Thank you! You always help a lot with your answers me and others! I cant imagine using this lib without your support

Do u have any ideas how to use both versions in one project?

Do u have any ideas how to use both versions in one project?

That’s an interesting question that I haven’t been asked before :slight_smile:
Well, I guess that as the HotTable creates a custom component we may create a second component that uses the source from the older (working) version

https://cdn.jsdelivr.net/gh/handsontable/handsontable@8.0.0-beta.1/dist/handsontable.full.js

but please treat this only as a tip. I haven’t’ tested it.

Thank you! You always help a lot with your answers me and others! I cant imagine using this lib without your support

Thank you too!

1 Like