Check documentation for the latest version 6.0 of dhtmlxSuite onRightClick DHTMLX Docs

onRightClick

fires when the user clicks the right mouse button

void onRightClick(string|number id,Event object){ ... };

Parameters

idstring|numberthe id of the clicked item
objectEventthe event object

Example

myTree.attachEvent("onRightClick", function(id, ev){
    // your code here
});

Back to top