This example demonstrates saving and restoring RadGrid settings by user.
Using the Persistence Framework, you can save/restore grid settings like:
- Page size
- Group-by expressions
- Sort expressions
- Filter expression
- Column settings
- Width
- OrderIndex
- Display
- Visible
- CurrentFilterFunction
- CurrentFilterValue
For a complete list of the supported settings, please go to the following article:
To simulate a different user, make a selection from the "User" combo box.
For each user, the settings can be saved and restored using the buttons located below the combo.
Instuctions
Make changes to the grid by applying filter/group-by/sort expressions. Reorder and resize columns, or show/hide columns using the header context menu. Then, save the settings and choose a different user from the combo. Make additional changes and save these as well. Finally, you can choose a user from the combo box and restore the settings associated with this user.