API REFERENCE

clearCellRanges

Clears all cell selection ranges. Row selection is separate.

What does this API do?

Clears all cell selection ranges. Row selection is separate.

API for Pro features: Cell range selection

Exact input and result types

typescript
clearCellRanges(): Promise<void>
ArgumentsRequiredType

The return type is Promise<void>.

Usage flow

After registering and initializing the Grid element, call grid.clearCellRanges(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Feature explanations and examples