DropdownMenu operations are too slow having custom submenu items

Tags: #<Tag:0x00007f8b1ce59328>

I have used DropdownMenu on headers with custom submenu items and have operations like Delete Column, Swap Column, Insert column to left and right etc. The table data, headers etc are dynamic and to have custom submenu items I am using updateSettings method to load the DropdownMenu which has a common callback which is called when any of the DropdownMenu item is clicked. Now when I click on ‘Delete column’ than I first add that column in the hidden columns array and then update the table with modified columns. This removed column also has to be displayed in some Dropdown submenu like ‘Insert column left/right and Swap column’ so I am using updateSettings again in common callback of DropdownMenu. All these operations are working fine but the problem is that they are taking too much time. Like if I try to delete a column in a table having around 200 rows then its taking around 15 secs. Please suggest any changes. Any help is appreciable. Thanks

Hey @rohitce435

you might want to read and track updates to this issue https://github.com/handsontable/handsontable/issues/4381

Hi @rohitce435

I have good news! We’ve just released 8.0.0-beta2 that fixes the mentioned issue. We won’t be closing this ticket now. It will be closed after we release the final 8.0.0 version of Handsontable.

Here’s a full list of changes https://github.com/handsontable/handsontable/releases/tag/8.0.0-beta.2
NPM https://www.npmjs.com/package/handsontable/v/8.0.0-beta.2

All feedback’s appreciated. Thank you for your input.

This issue was solved in v.8.0.0.