DHTMLX Docs & Samples Explorer

onBeforeContextMenu Event

Required library edition: This method requires Professional Edition of the DHTMLX library

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){});