pbAutoColumnSizing - cCJGrid
Specifies if column sizes are adjusted to fit the entire width of the grid
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbAutoColumnSizing
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbAutoColumnSizing to BooleanVariable |
| Write Access: | Set pbAutoColumnSizing to BooleanVariable/Value |
Description
If True (the default), all columns are sized to fill the entire width of the grid. When the grid is resized, the Columns will automatically be resized to fit the new size of the grid.
If False, then column sizes are specified in pixels by each column's piWidth property.
When one or more columns have their pbResizable property set to False, then those columns do not participate in the pbAutoColumnSizing equation. Their width is therefore fixed by the piWidth property (in pixels). In this case, the width of all of the other columns is calculated in the same way (as a ratio), but the Grid's overall width is calculated as the client area width minus the width of each column that has pbResizable set to false.