Gantt Chart / Data Binding / Observable Collection

Blazor Gantt Chart Example - Observable Collection Binding

Loading Syncfusion Blazor Server Demos…

This sample demonstrates observable data binding in the Blazor Gantt Chart. The chart consumes an ObservableCollection, ensuring that structural changes in the data source are reflected immediately on the timeline.

An ObservableCollection allows dynamic updates to the UI by automatically notifying changes such as additions, removals, or modifications to its items. When an object is added to or removed from the collection, the Gantt Chart UI updates automatically.

To ensure the UI reflects changes to individual properties within an object, the property setter must be properly configured to raise change notifications. This enables the Gantt Chart to refresh the affected task without requiring a full data reload.

The toolbar also enhances this functionality by providing built-in options for add, update, and delete operations, allowing direct task management within the chart interface.

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