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

typescript
getDisplayedRowAtIndex(index: number): Promise<GridRowRef<GridData, unknown> | null>
ArgumentsRequiredType
indexRequirednumber

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