Check documentation for the latest version of dhtmlxSuite onRightClick DHTMLX Docs

onRightClick

fires when the user clicks the right mouse button

void onRightClick(string|number id,Event object);
idstring|numberthe id of the clicked item
objectEventthe event object

Example

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

Back to top