Skip to main content

GanttTaskDependencyMappingInfo.DependencyType Property

Specifies the name of the data field that contains information on the dependency type.

Namespace: DevExpress.Web.ASPxGantt

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

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
String "DependencyType"

A data field name.

Remarks

The Gantt supports the following dependency types:

  • Finish to Start (FS) - The predecessor task’s endpoint specifies the successor task’s start point.

  • Start to Start (SS) - The predecessor task’s start point specifies the successor task’s start point.

  • Finish to Finish (FF) - The predecessor task’s end point specifies the successor task’s end point.

  • Start to Finish (SF) - The predecessor task’s start point specifies the successor task’s end point.

Gantt - Dependencies

In a database, you can use any of the following formats (digit or string) to store dependency types:

Dependency Type

Supported Values

Finish to Start (FS)

0, “0”, “FS”, “fs”

Start to Start (SS)

1, “1”, “SS”, “ss”

Finish to Finish (FF)

2, “2”, “FF”, “ff”

Start to Finish (SF)

3, “3”, “SF”, “sf”

<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

Examples

Online Demos

See Also