Example of Split Tasks in Blazor Gantt Chart Component

Gantt Chart / Miscellaneous / Split Tasks

This sample demonstrates the split tasks support in the Gantt Chart. Sometimes, things don't go as planned, and tasks get interrupted. This can happen due to unexpected events or when we need to change our priorities. In these situations, it helps to break the work into smaller parts so that we can pick up where we left off on a different day. Being able to pause and resume tasks makes it easier to deal with unexpected situations.

The split tasks can be called the segments of a task. A task can be split into any number of segments with a minimum of one time unit cell. Segments can be defined in the DataSource format in the GanttSegmentFields component. Segments can be created or merged in two ways: using the Edit Dialog and Context Menu.

Segments can be mapped using the GanttSegmentFields component with the following properties and event:

  • PrimaryKey - To map segment primary id.
  • ForeignKey - To map task id.
  • StartDate - To map segment start date.
  • EndDate - To map segment end date.
  • Duration - To map segment duration.
  • OnSegmentUpdate - To map segment event.

A task must have a minimum of two different duration time unit cells in order to be split. Similarly, milestone tasks or parent tasks cannot be split into segments.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE