All docs
V19.2
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.

GanttTaskField Enum

Lists fields for a task object.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

public enum GanttTaskField
Public Enum GanttTaskField

Members

Name Description
End

A task's end date.

Key

A task ID.

ParentKey

A task's parent ID.

Progress

A task's progress.

Start

A task's start date.

Title

A task's title.

Remarks

Use the TaskField property to specify task fields for a column in the task list.

<dx:ASPxGantt ID="Gantt" runat="server" Height="700" Width="100%" 
    TasksDataSourceID="TasksDataSource"
    DependenciesDataSourceID="DependenciesDataSource"
    ResourcesDataSourceID="ResourcesDataSource"
    ResourceAssignmentsDataSourceID="ResourceAssignmentsDataSource">
    <SettingsTasksList Width="45%">
        <Columns>
            <dx:TaskDataColumn TaskField="Title" Width="260" />
            <dx:TaskDataColumn TaskField="Start" Width="100" DisplayFormat="MM\/dd\/yyyy" />
            <dx:TaskDataColumn TaskField="End" Width="100" DisplayFormat="MM\/dd\/yyyy" />
        </Columns>
    </SettingsTasksList>
    <Mappings>
        <Task Key="ID" ParentKey="ParentID" Title="Subject" Start="StartDate" End="EndDate" Progress="PercentComplete" />
        <Dependency Key="ID" PredecessorKey="ParentID" SuccessorKey="DependentID" DependencyType="Type" />
        <Resource Key="ID" Name="Name" />
        <ResourceAssignment Key="ID" TaskKey="TaskID" ResourceKey="ResourceID" />
    </Mappings>
</dx:ASPxGantt>

Online Demo

ASPxGantt - Data Binding and Modification

See Also