How can I close the menu manually when I use 'Context menu with fully custom configuration' ?

Tags: #<Tag:0x00007f0b09229ac8>

How can I close the menu manually when I use ‘Context menu with fully custom configuration’ ? I don’t use the callback function here, so I have to close it manually. Although I read the document https://handsontable.com/docs/6.2.2/ContextMenu.html#close. But I still don’t understand how to call him. Can you give me an example? thank you!

Hi @2992919713

Here’s an example of how you can use this method:

https://jsfiddle.net/aszymanski/7Lvt8gmo/

OK. Thank you! Then I have another question. Is it invalid to use multiple ‘Context menu with fully custom configuration’?Can I use multiple custom menus?

Hi @2992919713

You can have only one context menu per Handsontable instance.