Skip to main content

headerCellRightClick

fires on right click on a grid header cell

[GridEvents.headerCellRightClick]: (cell: IHeader, column: ICol, event: MouseEvent) => void;

Parameters:

The callback of the event is called with the following parameters:

  • cell: IHeader - an object with a header cell configuration
  • column: ICol - an object with a column configuration
  • event: MouseEvent - a native HTML event object

Example

grid.events.on("headerCellRightClick", (cell, column, event) => {
// your logic here
});

Related sample: Grid. Events