blazor-docs/knowledge-base/grid-save-state-in-webassem...

1.0 KiB

title description page_title slug position tags res_type
How to save Grid state in a WebAssembly application? How to save Grid state in a WebAssembly project? Save Grid State in WASM grid-kb-save-state-in-webassembly grid,state,wasm,webassembly,save kb

Environment

Product Grid for Blazor

Description

How to save the Grid State in a WASM project? How to save the Grid State in a WebAssembly through a controller? How to save the Grid State in a WebAssembly from the browser's LocalStorage?

Solution

The sample app in GitHub shows two ways to store the GridState:

  • Through a custom controller;
  • Through a custom service that calls the browser's LocalStorage.

See Also

  • [Grid State]({%slug grid-state%})
  • [Save and load the Grid state from localStorage]({%slug grid-kb-save-load-state-localstorage%})