How to maintain collapsible column after calling updateSettings()

Tags: #<Tag:0x00007efc64637b50>

Hi,

I have collapsed some of the column of HandsonTable and then after updating the data I have populated the HandsonTable using updateSettings(). However, HandsonTable is not maintaining collapsed column state and every column showing as expanded.

Could you please help me to maintain collapsed satate of columns.

Thanks
Jitendra

Hi Jitendra,

Handsontable understands that you have loaded new data that is why it is not hiding the columns to show it.

You call call the collapse method in the afterLoadData hook to collapse them again.

Hi, Thanks for the relpy. I have implemented using collapsibleColumns plugin. Thanks

Thank you for confirmation. I’m closing the topic.