Hi, is there a way to save store and load the filter of a dataFilter?
Also how do I change the descriptions of "AddFilter" and "AddFilterGroup"?
Thank you
There isn’t anything built-in however you can use similar technique to this DataGrid demo, you have to code manually however:
Check also the source of the component for reference about different string properties used in the UI:
Thanks Enchev, it works now.
But there is one thing I didn't understand:
why in the example code is used 'await Task.CompletedTask; ' in that way?
private async Task SaveStateAsync()
{
await Task.CompletedTask;
await JSRuntime.InvokeVoidAsync("window.localStorage.setItem", "Settings", JsonSerializer.Serialize<DataGridSettings>(Settings));
}