Skip to content

pbHeaderTogglesDirection - cCJGrid

Determines if clicking on the header should reverse the sort order of the column

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

Syntax

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

Description

pbHeaderTogglesDirection determines if clicking on the header should reverse the sort order of the column. When true, clicking on a header that is already the sorted column will reverse the sort direction. This will only occur if pbHeaderReorders is set true.

See HeaderReorder, which is called to reorder the grid, for a complete description of this process.

In the cCJGrid and cDbCJGrid classes, the default value of this property is False; in the cCJGridPromptList and cDbCJGridPromptList classes, it is True.