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

// unselects all previously selected cellsgrid.selection.removeCell();
// unselects all previously selected cells of the specified rowgrid.selection.removeCell(rowId);
// removes selection from the specified cellgrid.selection.removeCell(rowId, colId);

Change log:

added in v7.0