編輯

共用方式為


getSelectedRows (Client API reference)

Returns a collection of every selected GridRow in the Grid.

Grid types supported

Read-only and editable grids

Syntax

let allSelectedRows = gridContext.getGrid().getSelectedRows();

Return Value

Type: Collection

Description: A collection of selected 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.