I don’t have any code to add, I just want to know if I can add an existing Handsontable event to a different key. In this case, have left mouse double click invoke the Context Menu.
Assign Context Menu to different event (LeftBtn-DoubleClick)
sure, you can use the open
method https://handsontable.com/docs/7.3.0/ContextMenu.html#open of the contextMenu
plugin. To attach the method you should use afterDocumentKeyDown
for keys or afterOnCellMouseDown
if you’d like to change it to LMB.