Skip to main content

removeCell()

unselects previously selected cells

removeCell(rowId?: string | number, colId?: string | number): 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 cells
grid.selection.removeCell();

// unselects all previously selected cells of the specified row
grid.selection.removeCell(rowId);

// removes selection from the specified cell
grid.selection.removeCell(rowId, colId);

Change log:

added in v7.0