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){ ... };

Parameters

zoneIdstringid of the context menu zone

Example

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

Back to top