BBjGrid::adjustSpacesWhenSaving
Description
In BBj 5.00 and higher, this method adjusts, for a given BBjGrid column, the spaces the developer entered before returning it to the program.
Syntax
Return Value |
Method |
---|---|
void |
adjustSpacesWhenSaving(int column, boolean stripLeading, boolean stripTrailing, boolean collapseMultipleSpaces, boolean removeAllSpaces) |
Parameters
Variable |
Description |
---|---|
column |
The column to affect. |
stripLeading |
An indication of whether leading spaces should be removed. |
stripTailing |
An indication of whether tailing spaces should be removed. |
collapseMultipleSpaces |
An indication of whether contiguous spaces should be collapsed into a single space. |
removeAllSpaces |
An indication of whether all spaces should be removed. |
Return Value
None.
Remarks
Boolean values are 0 = false and 1 = true.
Use this method in lieu of the CVSIN parameter of the TemplatedString in BBjDataAwareGrid::setDataChannel but can apply it to a BBjStandardGrid as well as a BBjDataAwareGrid.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.