pbHeaderSelectsColumn - cCJGrid
Determines if clicking on the header should move the focus to the column in the SelectedRow
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbHeaderSelectsColumn
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbHeaderSelectsColumn to BooleanVariable |
| Write Access: | Set pbHeaderSelectsColumn to BooleanVariable/Value |
Description
pbHeaderSelectsColumn determines if clicking on the header should move the focus to the column in the SelectedRow. If false, the default, this does not happen. If true, the grid will attempt to move to the column.
If pbHeaderPrompts is true, a column focus change will also occur as part of the prompt process. This change will only occur if there is prompt object for the column.
The properties pbHeaderPrompts, pbHeaderSelectsColumn and pbHeaderReorders all determine header click behavior. All of this logic resides in OnHeaderClick, which may by overridden or augmented to perform other custom behaviors.