Skip to main content

headerCellClick

fires on click on a grid header cell

headerCellClick: (column: object, event: MouseEvent) => void;

Parameters:

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

  • column: object - an object with a column configuration
  • event: MouseEvent - a native HTML event object

Example

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

Related sample: TreeGrid. Events