Skip to main content

cellClick

fires on click on a grid cell

cellClick: (row: object, column: object, event: MouseEvent) => 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 - a native HTML event object

Example

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

Related sample: Grid. Events

You can use the event when you need to open the editor of a grid cell with a single click. Check the details in the Opening editor with one click article.