GridOptions.ColumnWidthMode Property
Gets or sets the mode used to manage grid column widths.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v18.2.Core.dll
Declaration
[DefaultValue(GridColumnWidthMode.AutoFitToGrid)]
public GridColumnWidthMode ColumnWidthMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GridColumnWidthMode | **AutoFitToGrid** | A GridColumnWidthMode enumeration value that specifies the mode used to manage grid column widths. |
Available values:
Name | Description |
---|---|
Manual | 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. |
AutoFitToContents | 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. |
AutoFitToGrid | 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. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to ColumnWidthMode |
---|---|
GridDashboardItem |
|