Skip to main content
All docs
V19.2

GanttTaskField Enum

Lists fields for a task object.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

public enum GanttTaskField

Members

Name Description
Key

A task ID.

ParentKey

A task’s parent ID.

Title

A task’s title.

Start

A task’s start date.

End

A task’s end date.

Progress

A task’s progress.

Related API Members

The following properties accept/return GanttTaskField values:

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