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
getSelectedRowIds(): Promise<ReadonlyArray<string | number>>| Arguments | Required | Type |
|---|
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
- Row selection
Row selection chooses targets for bulk actions such as approval, export, or assignment. Unlike cell range selection, it selects an entire order.