BBjGrid::setSelectedCells
Description
In BBj 15.00 and higher, this method selects multiple cells in the BBjGrid.
Syntax
Return Value |
Method |
void |
setSelectedCells(BBjVector selection!) |
Parameters
Variable |
Description |
selection! |
Specifies a vector of BBjGridCell-based cells. |
Return Value
None.
Remarks
This method will only work in the Enhanced Grid Selection Model. If the grid's selection mode is set to GRID_SELECT_CELL, then the specified cells will be highlighted. If the grid's selection mode is set to GRID_SELECT_ROW or getShouldHighlightSelectedRow() returns true, then all rows containing the selected cells will be highlighted. If the grid's selection mode is set to GRID_SELECT_COLUMN or getShouldHighlightSelectedColumn() returns true, then all columns containing the selected cells will be highlighted.
Example
|
See Also
BBjGrid::setEnhancedSelectionModelEnabled
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.