Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridTableOptionsView.ColumnAutoWidth Property

Determines whether column widths are changed in order to display all columns without using the horizontal scrollbar.

#Declaration

Delphi
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.

See Also