DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
Event Handling

## onBeforeContextMenu Event

Required library edition:

This event occurs immediately before showing the context menu. onBeforeContectMenu event passes the following parameters:

- id - id of the clicked row;
- ind - index of the cell column;
- obj - grid object.

            grid.attachEvent("onBeforeContextMenu", function(id,ind,obj){});