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.

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.v21.1.dll

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