BBjGrid::showCalendarForCell
Description
In BBj 19.00 and higher, this method programmatically calls the calendar popup on an InputD cell.
Syntax
Return Value |
Method |
---|---|
boolean |
showCalendarForCell() showCalendarForCell(boolean stopCellEdit) showCalendarForCell(int row, int column) showCalendarForCell(int row, int column, boolean stopCellEdit) |
Parameters
Variable |
Description |
---|---|
stopCellEdit |
Specifies if the InputD should leave edit mode after a date is selected by the user and the calendar is dismissed. |
row |
Specifies the row of the cell within the grid. |
column |
Specifies the column of the cell within the grid. |
Return Value
Returns True if the specified, active, or selected cell's style was an InputD and the calendar was selected. Returns False if the cell's style was not an InputD.
Remarks
If no row and column are specified, the calendar will be requested for the currently selected cell.
If the cell is not an InputD, no calendar will be displayed and no exception will be thrown.
The default value for stopCellEdit is False. Thus, if no boolean value is provided for stopCellEdit, the cell will remain in edit mode after the calendar has been dismissed by the user.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.