Gantt Chart / Resource / Resource View

Blazor Gantt Chart Example - Resource-Centric View

Loading Syncfusion Blazor Server Demos…

This sample demonstrates the resource breakdown view in the Blazor Gantt Chart, which visualizes tasks assigned to each resource in a hierarchical structure. Tasks can be reassigned or edited directly within the chart. If a task has no assigned resource, it will appear under the Unassigned Tasks category. To enable this feature, set the ViewType property to ResourceView.

When a resource is assigned multiple tasks scheduled on the same date, it results in overallocation. The number of overallocation instances is indicated in square brackets next to the resource name. This feature can be activated by setting the ShowOverallocation property to true.

This sample also demonstrates how to plan and allocate resources based on task complexity and availability. Tasks without assigned resources can be reassigned using row drag and drop, which requires the AllowRowDragAndDrop property to be set to true.

Resources are defined using the GanttResource component with the following properties:

  • Id – Maps the resource ID.
  • Name – Maps the resource name.
  • MaxUnits – Defines the maximum allocation units for a resource.
  • DataSource – Specifies the data source for resource mapping.

Resource assignments are configured using the GanttAssignmentFields component:

  • PrimaryKey – Maps the primary key field.
  • TaskID – Maps the task identifier.
  • ResourceID – Maps the resource identifier.
  • DataSource – Specifies the data source for resource assignment mapping.

A toggle button in this sample allows switching between resource view and project view, making it easy to access different perspectives and make informed decisions.

Additionally the toolbar provides built-in options for add, update, delete, expand, and collapse 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