Hi Boon,
Serialization is the process of saving the current properties of SfDataGrid
into an XML file document. After applying the deserialization, the saved
properties of SfDataGrid are loaded into newly assigned or already serialized
SfDataGrid. This is the behavior of Serialization and Deserialization.
However, your requirement to display the new column with deserialized the
columns in SfDataGrid can be achieved by customizing
the serialization operations by deriving the SerializationController class
and overriding the RestoreGridColumns methods. Find the sample demo
in the attachment. For more information related to Customizing
Serialization, please refer to the below user guide documentation link,
UG
Link: Serialization
in WPF DataGrid Control | Syncfusion
Note: We have prepared the sample based on like below mentioned example,
The old version of columns
in the grid: OrderID
The new version of columns
in the grid: CustomerID | CustomerName
The deserialization
should lead to this grid: OrderID | CustomerID |
CustomerName
Regards,
Vijayarasan S
If this post is helpful, please consider Accepting it as the solution so
that other members can locate it more quickly.
Attachment:
Sample_43cb365e.zip