Hello,
I am using the persistence feature of the grid control meaning that whatever filters / sorting etc are applied by a user are stored and reapplied between page reloads, navigation etc.
However, before the grid is rendered for the first time, I apply some filters and sorting - the "initial state".
I want to be able to restore my grid to this initial state.
Currently, I am able to store this in local storage alongside the state. On a specific request, I store a flag that means when the page is reloaded, instead of using the state the grid stores whenever the page is refreshed/unloaded, I take my stored initial state instead.
This is working, but the entire page reloading is sub-optimal from a usability perspective.
I want to know if there's an easy way to refresh the grid control with my stored state WITHOUT reloading the page, is there some event I can trigger to completely rebuild the grid and use my stored state?
Thanks