Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
Does SaveLayout() retain layout after browser refresh?
posted

I'm following the example on github, and it seems once you refresh the browser, you lose the saved layout and are unable to load it. Is that the case? If so, what is the point of SaveLayout and LoadLayout?

I'm attempting to save the grid column order on a per user basis so each user can choose their own column order, and have it saved when they return to the page.

https://github.com/IgniteUI/igniteui-blazor-examples/blob/vnext/samples/grids/data-grid/load-save-layout/App.razor

  • 7535
    Offline posted

    Hello Bill,

    Thank you for contacting. Yes you are right, when you refresh the browser you will lose the saved layout,its because grid cant maintain the same layout after page refresh, may be before you refresh, save the layout locally somehow.