API REFERENCE

forEachDisplayedRow

Iterates current displayed rows for app features that distinguish source order from display order.

What does this API do?

Iterates current displayed rows for app features that distinguish source order from display order.

Exact input and result types

typescript
forEachDisplayedRow(callback: (row: GridRowRef<GridData, unknown>) => void): Promise<void>
ArgumentsRequiredType
callbackRequired(row: GridRowRef<GridData, unknown>) => void

The return type is Promise<void>.

Usage flow

After registering and initializing the Grid element, call grid.forEachDisplayedRow(…). 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