BBjGrid::getCellText
Description
Returns the value of the text stored in the specified cell.
For a BBjStandardGrid, this value is the empty string when the BBjStandardGrid is created and changes when the program calls setCellText(). For BBjDataBoundGrid and BBjDataAwareGrid this value is set when the grid is bound to a data source.
For all grids this value is modified when the user edits the cell and then leaves the cell. If a validation routine is triggered by the editing of the cell, then the value returned by getCellText() does not change until the validation event is accepted.
Note: If the type of the cell is InputN, InputE or InputD, then the value that is displayed to the user is obtained by applying the mask returned by getCellMask() to the text value that is obtained by getCellText(). This means that the text that is displayed to the user may be different from the value that is returned by getCellText()
Syntax
Return Value |
Method |
---|---|
string |
getCellText(int row, int column) |
Parameters
Variable |
Description |
---|---|
row |
Specifies the 0-based row. |
column |
Specifies the 0-based column. |
Return Value
Returns the value of the text stored in the specified cell.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.