API REFERENCE
selectRows
Sets selection for specified row IDs. Use stable IDs, not display indices.
What does this API do?
Sets selection for specified row IDs. Use stable IDs, not display indices.
Exact input and result types
selectRows(ids: Array<string | number>): Promise<void>| Arguments | Required | Type |
|---|---|---|
| ids | Required | Array<string | number> |
The return type is Promise<void>.
Usage flow
After registering and initializing the Grid element, call grid.selectRows(…). 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.