Skip to main content

cellMouseDown

fires before releasing the left mouse button when clicking on a grid cell

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

Parameters:

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

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

Example

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

Related sample: Grid. Events