API REFERENCE
getRow
Finds a row object by stable row ID, rather than display index.
What does this API do?
Finds a row object by stable row ID, rather than display index.
Exact input and result types
getRow(rowId: GridRowId): Promise<GridRowRef<GridData, unknown> | null>| Arguments | Required | Type |
|---|---|---|
| rowId | Required | GridRowId |
The return type is Promise<GridRowRef<GridData, unknown> | null>.
Usage flow
After registering and initializing the Grid element, call grid.getRow(…). 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.