CheckedStateToValue - cCJGridColumn
Converts a checked state to a data value
Type: Function
Return Data Type: String
Parameters
| Parameter | Type | Description |
|---|---|---|
| bChecked | Boolean | Pass true to get the checked value, false to get the unchecked value |
Syntax
Function CheckedStateToValue Boolean bChecked Returns String
Call Example
Get CheckedStateToValue bChecked to StringVariable
Description
CheckedStateToValue can be called to determine the true and false data value for a checkbox column. The data value for a true and false value is determined by the psCheckBoxTrue and psCheckBoxFalse properties.
With data aware grids (cDbCJGrid/cDbCJGridColumn), these true and false values will probably be set by your data dictionary.
You can determine a data value,s checked state by sending the ValueToCheckedState message.
A column is made a checkbox column by setting pbCheckBox to true.
Return Value
Returns a string value representing the passed checked state.