pbMultiSelectionMode - cCJGrid
Enables/disables the multiple selection mode for the control
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbMultiSelectionMode
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbMultiSelectionMode to BooleanVariable |
| Write Access: | Set pbMultiSelectionMode to BooleanVariable/Value |
Description
If True, the grid acts like a ListBox - if you click a new item, it will not deselect the previous item. This is just as if you were holding the Ctrl key while clicking rows.
Default is False.
Note: You must set pbMultipleSelection and pbSelectionEnable to True before setting this property will have any effect.
GetIndexesForSelectedRows returns an array of indexes for all rows that are selected. This is used when multiple row selection is enabled. See pbMultipleSelection for a full description of this process.