BBjStandardGrid::setSelectedCell
Description
This method selects a cell in the BBjStandardGrid.
Syntax
Return Value |
Method |
void |
setSelectedCell(int row, int col) |
void |
setSelectedCell(BBjGridCell gridCell!) |
Parameters
Variable |
Description |
keyrow |
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 whole 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 whole column containing the selected cell will be highlighted.
Example
|
See Also
BBjGrid::setEnhancedModelEnabled
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.