BBjGrid::adjustSpacesWhenDisplaying
Description
In BBj 5.00 and higher, this method adjusts, for a given column, the spaces contained in data before displaying within a BBjGrid cell.
Syntax
Return Value |
Method |
---|---|
void |
adjustSpacesWhenDisplaying(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.