State Persistence in Angular TreeGrid
State persistence allows the TreeGrid component to maintain its state in the browser’s localStorage across browser refreshes or page navigation. When enablePersistence is set to true, the TreeGrid saves its model object to local storage automatically.
State persistence in TreeGrid ensures that key properties such as column settings, sorting, filtering, expanded or collapsed states, and paging—are remembered and restored even after the page is reloaded or revisited.
For more details on TreeGrid’s advanced features, visit the
Angular TreeGrid feature tour. To explore practical demonstrations, see theAngular TreeGrid exampleto understand how to present and manipulate data.