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

onBeforeContextMenu

fires immediately before showing a context menu

void onBeforeContextMenu(string|number id,number ind,object obj){ ... };

Parameters

idstring|numberthe id of the clicked row
indnumberthe index of the cell column
objobjecta grid object

Available only in PRO Edition

Example

grid.attachEvent("onBeforeContextMenu", function(id,ind,obj){
    //your code here
});

Back to top