Skip to main content

GanttViewType Enum

Lists views to display tasks.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

public enum GanttViewType

Members

Name Description
TenMinutes

Displays ten minutes.

Hours

Displays hours.

SixHours

Displays six hours.

Days

Displays days.

Weeks

Displays weeks.

Months

Displays months.

Quarter

Displays quarters.

Years

Displays years.

Related API Members

The following properties accept/return GanttViewType values:

Remarks

Use the ViewType property to specify the gantt’s view to display tasks.

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    <Columns>
        <dx:GanttTextColumn FieldName="Subject" />
        <dx:GanttDateTimeColumn FieldName="StartDate" DisplayFormat="MM\/dd\/yyyy" />
        <dx:GanttDateTimeColumn FieldName="EndDate" DisplayFormat="MM\/dd\/yyyy" />
    </Columns>
    <SettingsGanttView ViewType="Weeks" />
</dx:ASPxGantt>

Run Demo: (Web Forms) Gantt Chart Appearance

Run Demo: (MVC) Gantt Chart Appearance

View Example: How to edit Gantt data

Concept

See Also