SetIndexesForSelectedRows - cCJGrid
Sets the row's selection state to true for all row values passed in the SelectedRowIndexes array
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| SelectedRowIndexes | Integer[] | Array of selected rows |
Syntax
Procedure SetIndexesForSelectedRows Integer[] SelectedRowIndexes
Call Example
Send SetIndexesForSelectedRows SelectedRowIndexes
Description
This sets the row's selection state to True for all row values passed in the SelectedRowIndexes array. The SelectedRowIndexes can be created by calling GetIndexesForSelectedRows or can be built manually. "Selected" refers to whether the row is highlighted and should not be confused with SelectedRow (which is the focused row). This relies on pbSelectionEnable and pbMultipleSelection.
Other selection methods are SetSelectedRow and SetSelectedRowsAll.
This should only be used with static grids.