Resizing Bands and Columns
- 2 minutes to read
The following operations can be performed by end-users to resize bands:
Action | Effect |
---|---|
Dragging the right edge of a band header. | Changes the width of the current and related bands and their columns. |
Dragging the bottom edge of a band header. | Changes the height of all root bands. This action can be performed only when there are no nested bands. |
Double-clicking the right edge of a band header. | Applies Best Fit to the band’s visible columns and adjusts the band’s width to match the combined width of these columns. |
Clicking the ‘Best Fit (all columns)’ item within the column header context menu. | Applies Best Fit to all visible columns within the TreeList control. |
Note
Use the TreeList control’s OptionsCustomizing.BandHorzSizing and OptionsCustomizing.BandVertSizing properties to prohibit end-users from resizing bands. Use a band’s Options.Sizing and Options.VertSizing properties to prohibit sizing this band.
The following operations can be performed by end-users to resize columns:
Action | Effect |
---|---|
Dragging the right edge of a column header. | Changes the width of the current and related columns. |
Dragging the bottom edge of a column header. | Changes the height of the column. End-users can perform this action to make the column’s cells span across multiple lines. |
Double-clicking the right edge of a column header. | Applies Best Fit to the column. |
Clicking the ‘Best Fit’ item within the column header context menu. | Applies Best Fit to the column located under the mouse pointer. |
Clicking the ‘Best Fit (all columns)’ item within the column header context menu. | Applies Best Fit to all visible columns within the TreeList control. |
Note
Use the TreeList control’s OptionsCustomizing.ColumnHorzSizing and OptionsCustomizing.ColumnVertSizing properties to prohibit end-users from resizing columns. Use a column’s Options.Sizing and Options.VertSizing properties to prohibit sizing this column.