Skip to main content

cellClick

fires on click on a grid cell

cellClick: (row: IRow, col: ICol, e: MouseEvent) => void;

Parameters:

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

Example

grid.events.on("cellClick", function(row,column,e){
// your logic here
});

Related sample: TreeGrid. TreeGrid Events

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