All docs
V20.2
20.2
20.1
19.2
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.

GanttColumnBase.MinWidth Property

Specifies the column's minimum width.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue(0)]
public int MinWidth { get; set; }
<DefaultValue(0)>
Public Property MinWidth As Integer

Property Value

Type Default Description
Int32

0

The minimum width.

Remarks

Use the MinWidth property to specify the minimum width of an individual column.

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    // ...
    <SettingsTaskList Width="45%">
        <Columns>
            <dx:TaskDataColumn TaskField="Title" MinWidth="160" />
            // ...
        </Columns>
    </SettingsTaskList>
</dx:ASPxGantt>

To specify the minimum width for all columns in the task list, use the ColumnMinWidth property.

<dx:ASPxGantt ID="Gantt" runat="server" ... >
    // ...
    <SettingsTaskList ColumnMinWidth="50" />
</dx:ASPxGantt>

Examples

Online Demos

See Also