Right-click on the grid: http://webix.com/snippet/f1a96b88
Click on menu item “Grid” - event fires, message shows up.
Open submenu, click on item “Add” - event does not fire.
Right-click on the grid: http://webix.com/snippet/f1a96b88
Click on menu item “Grid” - event fires, message shows up.
Open submenu, click on item “Add” - event does not fire.
Use the onMenuItemClick event, it fires for both contextmenu and submenu items.
Also, there’s a special method for getting menu and submenu items - getMenuItem.