Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Data Grid › best way to use grid saveState() › Reply To: best way to use grid saveState()
February 4, 2023 at 9:48 am
#104346
Keymaster
Hi,
The saveState method saves the Grid state and returns the state object. You can then use the loadState method and pass a previously saved state object. By doing that you will load the saved state and the Grid will update. The state will save the columns visibility, sorting & filtering.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/