Skip to main content

headerCellClick

fires on click on a grid header cell

headerCellClick: (col: ICol, events: MouseEvent) => void;

Parameters:

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

Example

grid.events.on("headerCellClick", function(col,e){
// your logic here
});

Related sample: Grid. Events