TcxGridTableOptionsView.ColumnAutoWidth Property
Determines whether column widths are changed in order to display all columns without using the horizontal scrollbar.
Declaration
property ColumnAutoWidth: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
Use the ColumnAutoWidth property to determine whether column widths are changed in order to display all columns without using the horizontal scrollbar. If a column’s content is still too large to display without the grid needing to resize, then that column’s values are truncated and the hidden characters are replaced with an end ellipsis (provided that the CellEndEllipsis option is active).
The following image shows a Table View with the ColumnAutoWidth property is set to True. Note the way that the Description column values are displayed:
If the ColumnAutoWidth property is set to True, you can prohibit the View from adjusting the width of individual columns using a column’s Options.AutoWidthSizable property.
The default value of the ColumnAutoWidth property is False.