getRows (Client API reference)

Returns a collection of every GridRow in the Grid.

Grid types supported

Read-only and editable grids

Syntax

let allRows = gridContext.getGrid().getRows();

Return Value

Type: Collection

Description: A collection of rows in the grid.

Remarks

To get the gridContext, see Getting the grid context.

See Collections (Client API reference) for information on the methods available to access data in a collection.