Skip to main content
A newer version of this page is available. .

GanttTaskDependencyMappingInfo.PredecessorKey Property

Specifies the name of the data field that contains information on the dependency’s predecessor ID.

Namespace: DevExpress.Web.ASPxGantt

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

Declaration

[DefaultValue("PredecessorID")]
public string PredecessorKey { get; set; }

Property Value

Type Default Description
String "PredecessorID"

A data field name.

Remarks

<dx:ASPxGantt ID="Gantt" runat="server" Width="100%" KeyFieldName="ID" ParentFieldName="ParentID" ...>
    <Mappings>
        <Dependency Key="ID" PredecessorKey="ParentID" SuccessorKey="DependentID" DependencyType="Type" />
        //...
    </Mappings>
    ...
</dx:ASPxGantt>

Concept

Bind To Data

Online demo

ASPxGantt - Data Binding and Modification

See Also