The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.2
19.2
19.1
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.

GanttViewType Enum

Lists views to display tasks.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

public enum GanttViewType
Public Enum GanttViewType

Members

Name Description
Days

Displays days.

Hours

Displays hours.

Months

Displays months.

Quarter

Displays quarters.

SixHours

Displays six hours.

TenMinutes

Displays ten minutes.

Weeks

Displays weeks.

Years

Displays years.

Remarks

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

Example

<dx:ASPxGantt ID="Gantt" runat="server" ...>
    <Columns>
        <dx:GanttColumn FieldName="Subject" Width="180" />
        <dx:GanttColumn FieldName="StartDate" Width="100" DisplayFormat="MM/dd/yyyy" />
        <dx:GanttColumn FieldName="EndDate" Width="100" DisplayFormat="MM/dd/yyyy" /> 
    </Columns>
    <SettingsGanttView ViewType="Weeks" />
    <Mappings>
    ...
    </Mappings>
</dx:ASPxGantt>

Concept

Gantt Control

Online Demo

ASPxGantt - Appearance Customization

See Also