TcxCustomTreeList.AdjustColumnsWidth Method
Horizontally resizes the tree list, so that it fits the client area.
Declaration
procedure AdjustColumnsWidth;
Remarks
Call theAdjustColumnsWidth
procedure if the Tree List has been horizontally resized (narrowed or extended), and it is required to restore the control to the client area’s boundaries if, for some reason, automatic column adjusting is disabled (the tree list’s OptionsView.ColumnAutoWidth property is False
).
To prevent users from resizing columns, set the OptionsCustomizing.ColumnHorzSizing property to False
. To prevent users from resizing of a particular column, set the column’s Options.Sizing property to False
.
To adjust tree list content, call the ApplyBestFit procedure.
See Also