SMART datagrid v.1 > Classes > GridBase
DataLudi.GridBase.onContextMenuPopup event
It will be fired just before displaying the context menu.
If explicitly return false within this event handler, it will not display the menu.
function onContextMenuPopup (grid: GridBase, x: Integer, y: Integer, event: MouseEvent);
- Returns
- Void
- Parameters
- grid - GridBase.
- x - Integer.
- y - Integer.
- event - MouseEvent.
browser mouseEvent v 1.4.2
Code -1
grid.onContextMenuPopup = function (grid, x, y) {
if (x < 10 || y < 10) return false;
}
- See Also
- Grid Context Menu Overview
- onContextMenuClicked
- onPopupMenuClicked
- GridBase.setContextMenu
- Examples
- Grid Context Menu