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 C# Serialization in Silverlight platform C# Serialization in WinRT platform C# 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 C# Deserialization in Silverlight platform C# Deserialization in WinRT platform C#
You can refer to the sample from the following location. |
This page will automatically be redirected to the sign-in page in 10 seconds.