Skip to content

Commit 6a1d03e

Browse files
984421: Updated the UG content and samples for State Management in Blazor DataGrid
1 parent 868305c commit 6a1d03e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blazor/datagrid/state-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: post
33
title: State Management in Blazor DataGrid | Syncfusion
4-
description: Learn how to persist, restore, and manage state in the Syncfusion Blazor DataGrid, including saving grid settings, resetting state, and working with versioned persistence.
4+
description: Learn how to persist, restore, and manage state in Syncfusion Blazor DataGrid, including saving, resetting, and versioned persistence.
55
platform: Blazor
66
control: DataGrid
77
documentation: ug
@@ -11,7 +11,7 @@ documentation: ug
1111

1212
State management in the Syncfusion<sup style="font-size:70%">&reg;</sup> Blazor DataGrid enables preserving the grid’s configuration across browser reloads and page navigation within the same browser context. This includes settings such as paging, sorting, filtering, grouping, column visibility, and more. State persistence applies to the grid configuration, not the underlying data source; ensure the data is provided again on reload.
1313

14-
To enable state persistence, use the [EnablePersistence](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_EnablePersistence) property. When set to true, the grid saves its state to the browser’s [localStorage](https://developer.mozilla.org/docs/Web/API/Window/localStorage), so the settings are retained across reloads until cleared.
14+
To enable state persistence, use the [EnablePersistence](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_EnablePersistence) property. When set to true, the grid saves its state to the browser’s [localStorage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage), so the settings are retained across reloads until cleared.
1515

1616
```cs
1717
<SfGrid DataSource="@Orders" EnablePersistence="true">

0 commit comments

Comments
 (0)