Skip to main content

GanttTaskResourceAssignmentMappingInfo.TaskKey Property

Specifies the name of the data field that contains information on the task ID.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("TaskID")]
public string TaskKey { get; set; }

Property Value

Type Default Description
String "TaskID"

A data field name.

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" Width="100%" KeyFieldName="ID" ParentFieldName="ParentID" ...>
    <Mappings>
        <ResourceAssignment Key="ID" TaskKey="TaskID" ResourceKey="ResourceID" />
        //...
    </Mappings>
    ...
</dx:ASPxGantt>

Concept

Bind To Data

Online Demos

See Also