GridColumnWidthMode Enum

Lists values that specify the mode used to manage grid column widths.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v21.2.Core.dll


public enum GridColumnWidthMode


Name Description

The grid allows you to adjust column widths manually. You can specify the mode used to manage the width of individual columns using the GridColumnBase.WidthType property.


The grid adjusts columns automatically to the minimum width required to completely display its content. If the entire content cannot be displayed within the dashboard item, horizontal scrolling is enabled.


The grid adjusts the width of all columns to fit their content in an optimal way. If you are changing the size of the dashboard item, the width of columns is changed proportionally.


Values listed in this enumeration are used to set the GridOptions.ColumnWidthMode property.

To specify the width of individual columns manually, set the GridOptions.ColumnWidthMode property to GridColumnWidthMode.Manual.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GridColumnWidthMode enum.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also