pbAutoOrdering - cDbCJGridPromptList
Determines if prompt lists should reorder when you navigate into a new column
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbAutoOrdering
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbAutoOrdering to BooleanVariable |
| Write Access: | Set pbAutoOrdering to BooleanVariable/Value |
Description
When pbAutoOrdering is set to True, the default, navigating into a column will cause the prompt list to be reordered around that column's order. If the grid is dynamic, the ordering is determined by ColumnOrdering and the prompt list is refreshed around this index ordering. If the grid is static and fully loaded, the prompt list is sorted around this column. In either case, the grid will attempt to maintain all existing context (the current row and current record) and it will just appear that your list has been reorganized, in place, around the current row.
You can navigate into a new column by clicking the mouse or by using the Tab / Shift+Tab keys. Because keyboard navigation is supported, your grid must support cell level navigation. Therefore, setting pbAutoOrdering also sets pbFocusSubItems. You should not attempt to manually set pbFocusSubItems in cDbCJGridPromptList objects.
If pbAutoOrdering is set to false, you can still reorder your prompt lists by clicking on the column header, assuming that pbHeaderReorders is true.