Check documentation for the latest version of dhtmlxSuite onBeforeContextMenu DHTMLX Docs

onBeforeContextMenu

called on right mouse click

void onBeforeContextMenu(string id,Event e);
idstringid of item on which right click occurs
eEventnative event object

Example

some.attachEvent("onBeforeContextMenu", function(id, e){
     //custom code here
});

Back to top