Hello,
We are using a CustomDataAdaptor to fetch data from an API to display in the SfGrid which is working well. However, if the user navigates to another page in our application and then back again, we want to restore the state of the grid without making another API call.
Setting EnablePersistence="true" seems to cater for most of the state of the grid but not the records themselves.
We can retain those records in memory or save to local storage by hooking into the DataBound event. However, I'm unclear how we should restore those records into the grid when the user comes back to the page containing the grid.
Could you please advise/provide an example of how to achieve this?
Thanks,
Chuck