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
clearCellRanges(): Promise<void>| Arguments | Required | Type |
|---|
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
- Cell range selection
A cell range is a rectangle spanning rows and columns. It defines the scope for copying, pasting, filling, and chart creation; selecting it does not change values.