setRowSelection()
Update a multiple row selection state.
Syntax
setRowSelection(
tableName STRING,
selectionMode STRING,
startIndex INTEGER,
endIndex INTEGER)
- tableName is the name of the table.
- selectionMode is the method of selection specified by these values.
- selectionMode values:
ggc.MRS_SET
- Clear and set a new row selection.
- startIndex is the index row number to start the selection.
- endIndex is the index row number to end the selection.
Usage
You can use it to perform a selection on multiple rows in a table. For example:
Clear and set a row selection.
CALL ggc.setRowSelection("items", ggc.MRS_SET, 10, 20)
Extend a row selection
CALL ggc.setRowSelection("items", ggc.MRS_EXSET, 25, 26)