GanttViewType Enum
Lists views to display tasks.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
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>
Concept
See Also