New to Telerik UI for Blazor? Download Free 30-day trial
TreeList - Persist State
- EDIT IN THEME BUILDER
- Change Theme
Control the TreeList state
Change the treelist (for example, filter, sort, page, resize columns) and Save the treelist state, then Reload the page to see the state persisted. Change the treelist some more and Load the state to see the last one preserved. You can manage the treelist state with your own code to put it in a specific configuration through the Configure button. You can also Reset the treelist to its default settings. This demo will remember your last treelist layout until your clear your browser storage or click the Reset button.
|Bikes||1||6/1/1998 12:00:00 AM|
|Mountain Bikes||5||6/1/1998 12:00:00 AM|
|Road Bikes||6||6/1/1998 12:00:00 AM|
|Touring Bikes||7||6/1/1998 12:00:00 AM|
|Components||2||6/1/1998 12:00:00 AM|
|Handlebars||8||6/1/1998 12:00:00 AM|
|Bottom Brackets||9||6/1/1998 12:00:00 AM|
|Brakes||10||6/1/1998 12:00:00 AM|
|Chains||11||6/1/1998 12:00:00 AM|
|Cranksets||12||6/1/1998 12:00:00 AM|
Loading the demo source code...please wait.
You can save and load the treelist layout so your users can continue where they left off - paging, expanded and selected items, edited item, column size and order, sorting and filtering - all treelist aspects are available. You can also control them programmatically by setting the desired state to the treelist in your own code.