Skip to main content

headerCellMouseDown

fires on moving the mouse pointer over a grid header cell

headerCellMouseDown: (column: object, event: MouseEvent & TouchEvent) => void;

Parameters:

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

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

Example

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

Related sample: Grid. Events