All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

GanttTaskListSettings.ColumnMinWidth Property

Specifies the columns’ minimum width.

Namespace: DevExpress.Web.ASPxGantt

Assembly: DevExpress.Web.ASPxGantt.v21.1.dll

Declaration

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

Property Value

Type Default Description
Int32

0

The columns’ minimum width.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ColumnMinWidth
ASP.NET MVC Extensions GanttSettings
.SettingsTaskList.ColumnMinWidth
MVCxGantt
.SettingsTaskList.ColumnMinWidth
ASP.NET Web Forms Controls ASPxGantt
.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:GanttTextColumn FieldName="Subject" Width="360" MinWidth="100" />
            <dx:GanttDateTimeColumn FieldName="StartDate" Width="100" MinWidth="70" />
        </Columns>
    </SettingsTasksList>
</dx:ASPxGantt>

Examples

Online Demos

See Also