Skip to content

piFreezeColumnsCount - cCJGrid

Determines the number of columns that are frozen when the grid is scrolled horizontally

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

Syntax

Property Integer piFreezeColumnsCount
Access Type Syntax
Read Access: Get piFreezeColumnsCount to IntegerVariable
Write Access: Set piFreezeColumnsCount to IntegerVariable/Value

Description

Freeze columns are columns to the left of the grid that will not scroll horizontally when the width of the columns exceeds the width of the grid. The freeze columns divider is drawn between the freeze columns and the remaining columns once the remaining columns are horizontally scrolled.

If the grid's pbAutoColumnSizing property is set to True, then the columns will always fit inside the width of the grid and thus, there will be no freeze column divider.

Set peFreezeColsDividerStyle to control the visual style of the freeze column divider.

Set piFreezeColsDividerColor to control the color of the freeze column divider.