pbAllowColumnRemove - cCJGrid
Specifies whether columns can be removed from the grid
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbAllowColumnRemove
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbAllowColumnRemove to BooleanVariable |
| Write Access: | Set pbAllowColumnRemove to BooleanVariable/Value |
Description
If True (the default), the column headers can be removed from the grid. To remove a column, the column header must be clicked on and dragged to an area on the screen that does not have any column headers. When the column header is over an area that the column can be removed, an "X" is displayed over the column header indicating that you can drop the column header and it will be removed. \
Once a column is removed, the pbVisible property is set to False. To replace the column, set the pbVisible property to True, or drag the column header from the FieldChooser if pbShowInFieldChooser is True for the column.
If False, the "X" will never appear and it does not matter where the column is dropped, it will not be removed.