Skip to content

pbCheckbox - cCJGridColumn

Specifies whether the column contains a CheckBox

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbCheckbox
Access Type Syntax
Read Access: Get pbCheckbox to BooleanVariable
Write Access: Set pbCheckbox to BooleanVariable/Value

Description

Set to True to display a checkbox for all grid cells in this column. The psCheckboxTrue and psCheckboxFalse properties specify the grid datasource values for a column that correspond to a checked or unchecked cell.

To determine whether a checkbox column is checked, use RowValue to get the value of the column, then compare it to the psCheckBoxTrue value:

String sTrueValue sStatus

Get psCheckboxTrue to sTrueValue
Get RowValue of oCustomer_Status iRow to sStatus
If (sStatus = sTrueValue) Begin
    :
End