Task Relationship in EJ 1 ASP.NET Core Gantt

You can show the relationship between two tasks in Gantt control. These relationships are categorized into four types based on the start and finish date of the task.

Start to Start(SS)

You cannot start a task until the other task also starts.

Task-Relationship_img1

Start to Finish(SF)

You cannot finish a task until the other task is started.

Task-Relationship_img2

Finish to Start(FS)

You cannot start a task until the other task is completed.

Task-Relationship_img3

Finish to Finish(FF)

You cannot finish a task until the other task is completed.

Task-Relationship_img4

The following code example shows you how to show the predecessor in the Gantt control.

  • cshtml
  • <ej-gantt id="ganttSample" datasource="ViewBag.datasource"
        //...
        predecessor-mapping="Predecessor">
    </ejGantt>

    The following screenshot displays the output of the above code.

    Task-Relationship_img5