API REFERENCE

getCellRanges

Reads current cell selection boundaries. Review the meaning of display row/column coordinates.

What does this API do?

Reads current cell selection boundaries. Review the meaning of display row/column coordinates.

API for Pro features: Cell range selection

Exact input and result types

typescript
getCellRanges(): Promise<CellRangeBounds[]>
ArgumentsRequiredType

The return type is Promise<CellRangeBounds[]>.

Usage flow

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

Read related types

Feature explanations and examples