All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
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.

GanttTaskMappingInfo.ParentKey Property

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

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue("ParentID")]
public string ParentKey { get; set; }

Property Value

Type Default Description
String

“ParentID”

A data field name.

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" Width="100%" KeyFieldName="ID" ParentFieldName="ParentID" ...>
    <Mappings>
        <Task Key="ID" ParentKey="ParentID" Title="Subject" Start="StartDate" End="EndDate" Progress="PercentComplete" />
        //...
    </Mappings>
    ...
</dx:ASPxGantt>

Concept

Bind To Data

Online Demos

See Also