Check documentation for the latest version of dhtmlxSuite onAfterContextMenu DHTMLX Docs

onAfterContextMenu

fires after the moment when a context menu appears by the right mouse click

void onAfterContextMenu(string|number zoneId,Event ev){ ... };

Parameters

zoneIdstring|numberid of the context menu zone
evEventnative window event object

Example

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

Back to top