Skip to main content
net8.0net9.0net10.0

This package contains the Syncfusion® Blazor Gantt component.

Published
May 19, 2026
5mo ago
Total Downloads
482.3K
482,272

Install

dotnet add package Syncfusion.Blazor.Gantt --version 33.2.7
ProductVersions
.NET
net10.0net8.0net9.0

README

Syncfusion® Blazor Gantt Chart

Professional project planning and scheduling component for Blazor applications. Display and manage hierarchical tasks with timelines, resource allocation, dependencies, and Gantt chart visualizations.

Blazor Gantt Chart

Key features

  • Task Management: Create, edit, and delete tasks with hierarchical structure
  • Timeline View: Visual Gantt chart with customizable timeline scales
  • Resource Allocation: Assign and manage resources across tasks
  • Dependencies: Define and visualize task dependencies and relationships
  • Scheduling: Auto-calculate dates based on duration and dependencies
  • Milestone Tracking: Mark and track important project milestones
  • Drag and Drop: Reschedule tasks by dragging on the timeline
  • Filtering and Sorting: Filter tasks by status, resource, or custom criteria
  • Export: Export project data to Excel, PDF, and other formats

Add stylesheet and script references

  • For Blazor Web App / Blazor Server App, add these to Components/App.razor or App.razor file.
  • For Blazor WebAssembly App, add these to wwwroot/index.html file.
<link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

Quick start

  1. Register the Syncfusion® Blazor service in Program.cs file.
using Syncfusion.Blazor;

builder.Services.AddSyncfusionBlazor();
  1. Add Blazor Gantt Chart component to your Razor page.
@using Syncfusion.Blazor.Gantt

<SfGantt DataSource="@TaskCollection" Height="450px">
    <GanttTaskFields Id="TaskId" Name="TaskName" StartDate="StartDate" EndDate="EndDate" Duration="Duration" Progress="Progress" ParentID="ParentId"/>
    <GanttColumns>
        <GanttColumn Field="TaskId" HeaderText="Task ID" Width="100"/>
        <GanttColumn Field="TaskName" HeaderText="Task Name" Width="250"/>
        <GanttColumn Field="StartDate" HeaderText="Start Date" Format="yMd"/>
        <GanttColumn Field="EndDate" HeaderText="End Date" Format="yMd"/>
        <GanttColumn Field="Duration" HeaderText="Duration"/>
        <GanttColumn Field="Progress" HeaderText="Progress"/>
    </GanttColumns>
</SfGantt>

@code {
    private List<TaskData> TaskCollection = new();

    protected override void OnInitialized()
    {
        TaskCollection = new List<TaskData>
        {
            new TaskData() { TaskId = 1, TaskName = "Project initiation", StartDate = new DateTime(2024, 3, 29), EndDate = new DateTime(2024, 4, 2), Duration = 4 },
            new TaskData() { TaskId = 2, TaskName = "Identify site location", StartDate = new DateTime(2024, 3, 29), EndDate = new DateTime(2024, 3, 29), Duration = 4, Progress = 30, ParentId = 1 },
            new TaskData() { TaskId = 3, TaskName = "Perform soil test", StartDate = new DateTime(2024, 4, 3), EndDate = new DateTime(2024, 4, 4), Duration = 4, ParentId = 1 }
        };
    }

    public class TaskData
    {
        public int TaskId { get; set; }
        public string TaskName { get; set; }
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public int Duration { get; set; }
        public int Progress { get; set; }
        public int ParentId { get; set; }
    }
}

Documentation

Support

License

This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA.

About Syncfusion®

Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:

Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com.

[email protected] | Toll Free: 1-888-9-DOTNET

Changes from Previous Version

No structural changes between v33.2.6 and v33.2.7.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.The published metadata declares 42 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.