How to maintain or serialize, de-serialize the column order and width when you navigate page?
You can maintain the SfDataGrid settings like column order, column width, sorting, grouping and etc. when navigating between page by using serialization and deserialization feature.
You can save the SfDataGrid settings in the file by using the SfDataGrid.Serialize method when you navigate to other pages. You can customize the serialization operation by setting SerializationOptions.
Then you can de-serialize the SfDataGrid setting from the saved file by using SfDataGrid.Deserialize method when you navigate to the same page again. You can customize the de-serialization operation by setting DeserializationOptions.
Note: The above code snippet is applicable only for WinRT platform. For WPF, you can use the same method to maintain the SfDataGrid settings when closing and opening the application.
This page will automatically be redirected to the sign-in page in 10 seconds.