SfDataGrid allows you to save and load the grid settings using the SfDataGrid.Serialize and SfDataGrid.Deserialize methods. You can customize this process by passing SerializationOptions and DeserializationOptions as parameters to these methods. SerializationOptions and DeserializationOptions contains a set of properties that is used to customize the serialization/deserialization process.
You can enable or disable the serialization of filters in SfDataGrid by setting SerializationOptions.SerializeFiltering property as illustrated in the following code example.
Serialization in WPF platform
Serialization in Silverlight platform
Serialization in WinRT platform
In the same way, you can enable or disable deserialization of serialized filters to SfDataGrid by setting DeserializationOptions.DeserializeFiltering property as illustrated in the following code example.
Deserialization in WPF platform
Deserialization in Silverlight platform
Deserialization in WinRT platform
You can refer to the sample from the following location.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:||Product Version:|