API REFERENCE

getSelectedRowIds

Reads selected row IDs. Use dedicated server selection state APIs for server-wide selection.

What does this API do?

Reads selected row IDs. Use dedicated server selection state APIs for server-wide selection.

Exact input and result types

typescript
getSelectedRowIds(): Promise<ReadonlyArray<string | number>>
ArgumentsRequiredType

The return type is Promise<ReadonlyArray<string | number>>.

Usage flow

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

Feature explanations and examples