@page "/datagrid-save-settings"

<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    DataGrid <strong>save settings</strong>
</RadzenText>
<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    Persist user preferences like column order, widths, sort, and filters between sessions.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo the grid uses <code>bind-Settings</code> to save all state (page index, size, groups, filters, sorts, column order/width/visibility) to browser <code>localStorage</code>, with buttons to clear saved settings or reload the page to demonstrate persistence across sessions.
</RadzenText>

<RadzenExample ComponentName="DataGrid" Example="DataGridSaveSettings">
    <DataGridSaveSettings />
</RadzenExample>
