All Demos / Gantt Chart / Miscellaneous / Persist State

Blazor Gantt Chart Example - State Persistence

Loading Syncfusion Blazor Server Demos…
This demo passes automated axe checks with 0 violations — semantic markup, ARIA, full keyboard operation, visible focus. Section 508 conformant Accessibility report VPAT

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.