SfGrid - Reset State Management

Hi there,

how can I clear the State Management ("Reset") of a grid by clicking e.g. a button when EnablePersistence  is enabled?

Cheers,
Volker


1 Reply

SP Sarveswaran Palani Syncfusion Team September 19, 2022 05:42 PM UTC

Hi Volker,


Greetings from Syncfusion support,


We have analyzed your query and suggest you to use ResetPersistData method to reset the grid persist state manually. Kindly refer the attached links for your reference.


Reference: https://blazor.syncfusion.com/documentation/datagrid/state-management#handling-grid-state-manually

         https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_ResetPersistData


Please get back to us if you have any further queries


Regards,

Sarveswaran PK


Loader.
Up arrow icon