We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfDataGrid remembering state

I'm working on the project using your SfDataGrid in order to display and modify the device's parameters.
However, there will be multiple devices and I need to reload elements - once for this device, once for this.
Is it possible to remember the state of the SfDataGrid? I mean eg. current position, current expanded groups.

Best regards and thank you in advance for support!

1 Reply

MA Mohanram Anbukkarasu Syncfusion Team February 26, 2019 01:40 PM UTC

Hi Aga,

Thanks for contacting Syncfusion support.

We suspect that your requirement is to store and reload the DataGrid settings. You can achieve this by using the serialization and deserialzation support in SfDataGrid. However it is not possible to store and reload the position and expanded group of the SfDataGrid. Please refer the following documentation link about the serialization/deserialization.

UG link : https://help.syncfusion.com/windowsforms/sfdatagrid/serializationdeserialization  

Please let us know if we misunderstood your requirement.

Mohanram A. 

Live Chat Icon For mobile
Up arrow icon