API REFERENCE
getDisplayedRowAtIndex
Finds a row object by its current display index. Sorting, filtering, and grouping can change the row at an index.
What does this API do?
Finds a row object by its current display index. Sorting, filtering, and grouping can change the row at an index.
Exact input and result types
getDisplayedRowAtIndex(index: number): Promise<GridRowRef<GridData, unknown> | null>| Arguments | Required | Type |
|---|---|---|
| index | Required | number |
The return type is Promise<GridRowRef<GridData, unknown> | null>.
Usage flow
After registering and initializing the Grid element, call grid.getDisplayedRowAtIndex(…). 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
- Data and events
Grid APIs read or change the current state; events report the results of user interactions or data changes. Combine them to build save buttons, detail panels, and change histories.