Check documentation for the latest version of dhtmlxSuite onContextMenu DHTMLX Docs

onContextMenu

fires when the user clicks on the context menu zone with the right mouse button

void onContextMenu(string zoneId);
zoneIdstringid of the context menu zone

Example

myMenu.attachEvent("onContextMenu", function(zoneId){
    // your code here
});

Back to top