Skip to content

pbAutoEnableColumns - cDbCJGridPromptList

Determines if the prompt list should automatically disable columns that cannot be ordered

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

Syntax

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

Description

Normally, you can reorder your prompt list by clicking on a column header (if pbHeaderReorders is True) or by changing columns (if pbAutoOrdering is True). If your prompt list is dynamic, you can only reorder by columns that have an index associated with them (ColumnOrdering is not -1). In such a case, allowing navigation into non-indexed columns serves no purpose. pbAutoEnableColumn automatically disables all columns that cannot be reordered with dynamic grids. If the grid is static, all columns are set to focusable.

Normally, this should be set to True, the default.