Skip to main content

removeCell()

unselects previously selected cells

removeCell(rowId?: Id, colId?: Id): void;

Parameters:

  • rowId: string | number - optional, the id of a row
  • colId: string | number - optional, the id of a column

Example

treegrid.selection.enable();
// unselects all previously selected cellstreegrid.selection.removeCell();
// unselects all previously selected cells of the specified rowtreegrid.selection.removeCell(rowId);
// removes selection from the specified celltreegrid.selection.removeCell(rowId, colId);

Change log:

added in v7.0