BBjGrid::setSelectedCell
Description
In BBj 15.00 and higher, this method selects a cell in the BBjGrid.
Syntax
| Return Value | Method |
|---|---|
| void | setSelectedCell(int row, int col) |
| void | setSelectedCell(BBjGridCell gridCell) |
Parameters
| Parameter | Description |
|---|---|
| row | Specifies the 0-based row. |
| col | Specifies the 0-based column. |
| gridCell | Specifies the BBjGridCell-based cell. |
Return Value
None.
Remarks
If the grid's selection mode is set to GRID_SELECT_CELL, then the specified cell will be highlighted. If the grid's selection mode is set to GRID_SELECT_ROW or getShouldHighlightSelectedRow() returns true, then the entire row containing the selected cell will be highlighted. If the grid's selection mode is set to GRID_SELECT_COLUMN or getShouldHighlightSelectedColumn() returns true, then the entire column containing the selected cell will be highlighted.
Example
|
See Also
BBjGrid::setEnhancedSelectionModelEnabled
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.