Skip to content

pbHeaderReorders - cCJGrid

Determines if clicking on the header should attempt to reorder the grid by the new selected column

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

Syntax

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

Description

pbHeaderReorders determines if clicking on the header should attempt to reorder the grid by the new selected column. If false, the default, this does not happen. If True, a reorder will be attempted. Depending on the grid class and the data source, different kinds of reordering behaviors will occur. See HeaderReorder, which is called to reorder the grid, for a complete description of this process.

The properties pbHeaderPrompts, pbHeaderSelectsColumn and pbHeaderReorders all determine header click behavior. All of this logic resides in OnHeaderClick, which may be overridden or augmented to perform other custom behaviors.