Gantt Chart / Miscellaneous / Persist State

Blazor Gantt Chart Example - State Persistence

Loading Syncfusion Blazor Server Demos…

This sample demonstrates the state management feature in the Blazor Gantt Chart. It allows saving the current chart configuration in the browser’s local storage so that settings are retained even after refreshing the page.

In this example, the Gantt Chart state is saved, reset, and reloaded to demonstrate how state management works. The chart can be refreshed to its original configuration or loaded with a previously saved state from the browser’s local storage.

The following Gantt areas are persisted:

  • Grid: Sorting, filtering, column state (resize, reorder, show/hide), searching, and TreeColumnIndex.
  • Splitter: Splitter position and collapsible state.
  • Chart: Time span and zooming level.

This feature helps maintain a consistent experience across sessions by preserving layout and configuration preferences.

Additionally the toolbar provides the 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