Blazor Gantt Chart Example - State Persistence

Gantt Chart / Miscellaneous / Persist State

This sample demonstrates state management in Gantt Chart. State management allows users to save the current Gantt state in the browser’s local storage so that properties of the Gantt will be retained even after refreshing the page.

Loading Syncfusion Blazor Server Demos…

In this example, you can see how to save Gantt state, reset the current state and refresh gantt chart with original state, load gantt chart with already saved state. Following are the Gantt properties persisted in local storage.

  • GRID
    • Sorting
    • Filtering
    • Column (resizing, reorder, show/hide columns)
    • Searching
    • TreeColumnIndex
  • SPLITTER
    • Position
    • Collapsible
  • CHART
    • Time span
    • Zooming level

More information on the state management can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE