pbComboSort - cCJGridColumn
Allows presenting a grid combo list in sorted order
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbComboSort
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbComboSort to BooleanVariable |
| Write Access: | Set pbComboSort to BooleanVariable/Value |
Description
When True, the combo items for a column are sorted when then grid is activated. This changes the actual order of the tComboItemData array. The array is manually filled by calling ComboAddItem or is automatically filled with validation table data with cDbCJGridColumn objects. With sorted lists do rely on the order of items in your tComboItemData array - use the iData member instead (which is what you should do anyway).
If combo items are added to a column after grid has been displayed, those items will not be sorted. They will be added to the end of the list. If you wish to sort the items send ComboInitialize.
The default value is False.