Skip to main content

GanttColumnBase.MinWidth Property

Specifies the column’s minimum width.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

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

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