BBjGrid::setSelectionMode
Description
Sets the method to select cells in the BBjGrid.
Syntax
Return Value |
Method |
void |
setSelectionMode(int mode) |
Parameters
Variable |
Description |
|
mode |
Selection Mode Values: |
|
|
GRID_SELECT_CELL |
Selects by cell. When a cell is clicked on, only the cell will be highlighted. |
|
GRID_SELECT_ROW |
Selects by row. When a cell is clicked on, the whole row will be highlighted. |
|
GRID_SELECT_COLUMN |
Selects by column. When a cell is clicked on, the whole column will be highlighted. |
Return Value
None.
Remarks
By default, cell selection is used. In the Enhanced Selection Model, the grid will not retain any of current selections and automatically remove them. Legacy Selection Model will still retain that information when switching between modes.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.