peFreezeColsDividerStyle - cCJGrid
Determines the style of the freeze column divider
Type: Property
Access: Read/Write
Data Type: xtpGridFreezeColsDividerStyle
Parameters: None
Syntax
Property xtpGridFreezeColsDividerStyle peFreezeColsDividerStyle
| Access Type | Syntax |
|---|---|
| Read Access: | Get peFreezeColsDividerStyle to xtpGridFreezeColsDividerStyleVariable |
| Write Access: | Set peFreezeColsDividerStyle to xtpGridFreezeColsDividerStyleVariable/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.
To set the number of freeze columns, set the piFreezeColumnsCount property.
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.
Valid values are:
| Constant | Meaning |
|---|---|
| xtpGridFreezeColsDividerThin | Thin style |
| xtpGridFreezeColsDividerBold | Bold style |
| xtpGridFreezeColsDividerHeader | Header style |
| xtpGridFreezeColsDividerShade | Shaded line style |
| xtpGridFreezeColsDividerShowAlways | Show divider even if pbAutoColumnSizing is True |
| xtpGridFreezeColsDividerDefault | Combines the xtpGridFreezeColsDividerThin + xtpGridFreezeColsDividerHeader + xtpGridFreezeColsDividerShade styles |
Divider styles are not mutually exclusive and may be combined by adding them together. For example:
Set peFreezeColsDividerStyle to (xtpGridFreezeColsDividerThin + xtpGridFreezeColsDividerShowAlways)
See Also