Skip to main content
All docs
V19.2

GanttSettingsTaskList.ColumnMinWidth Property

Specifies the columns’ minimum width.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v19.2.dll

Declaration

[DefaultValue(0)]
public int ColumnMinWidth { get; set; }

Property Value

Type Default Description
Int32 0

The column width.

Property Paths

You can access this nested property as listed below:

Object Type Path to ColumnMinWidth
ASPxGantt
.SettingsTaskList.ColumnMinWidth
GanttSettings
.SettingsTaskList.ColumnMinWidth
MVCxGantt
.SettingsTaskList.ColumnMinWidth

Remarks

Use the ColumnMinWidth property to specify the minimum width for all columns in the Gantt.

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    <SettingsTasksList Width="45%" ColumnMinWidth="50" >
        //...
    </SettingsTasksList>
</dx:ASPxGantt>

To specify the minimum width for an individual column, use the MinWidth property.

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    <SettingsTasksList Width="45%" >
        <Columns>
            <dx:TaskDataColumn TaskField="Title" Width="260" MinWidth="90"  />
            <dx:TaskDataColumn TaskField="Start" Width="100" DisplayFormat="MM\/dd\/yyyy" MinWidth="50" />
            <dx:TaskDataColumn TaskField="End" Width="100" DisplayFormat="MM\/dd\/yyyy" MinWidth="50" />
        </Columns>
    </SettingsTasksList>
</dx:ASPxGantt>
See Also