Gantt Chart / Miscellaneous / Split Tasks

Blazor Gantt Chart Example - Split Task Management

Loading Syncfusion Blazor Server Demos…

This sample demonstrates the split tasks feature in the Blazor Gantt Chart, which allows tasks to be divided into multiple segments. This is useful in scenarios where work is interrupted due to unexpected events or shifting priorities, enabling tasks to be paused and resumed on different dates.

Split tasks are represented as segments, and each task can be split into multiple segments, with a minimum of one time unit per segment. Segments are defined in the data source and mapped using the GanttSegmentFields component.

Segments can be created or merged using either the Edit Dialog or the Context Menu.

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

  • PrimaryKey - Maps the segment's primary identifier.
  • ForeignKey - Maps the associated task ID.
  • StartDate - Maps the segment's start date.
  • EndDate - Maps the segment's end date.
  • Duration - Maps the duration of the segment.
  • OnSegmentUpdate - Maps segment event.

To enable splitting, a task must span at least two distinct time unit cells. Note that milestone tasks and parent tasks cannot be split into segments.

The toolbar provides add, update, delete, expand, collapse and zooming operations, enabling interactive task management.

For further details, refer to the documentation.

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