The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
RARajasekar Syncfusion Team March 27, 2012 11:26 AM UTC
Hi Tomana,
Thanks for your reply.
You can achieve this requirement by Serializing and De- Serializing the GridModel by using the below two methods based on your desired condition,
grid.Model.Deserialize(@"..\..\test.xml");
grid.Model.Serialize(@"..\..\test.xml");
Please let us know if you have any queries.
Thanks, Rajasekar
JTJuraj TomanaMarch 28, 2012 06:19 AM UTC
Hi. Thank You for Your reply, but I didn't thougth de-/serialization of grid-settings.
I design my grid in XAML, after that I start application and play with grid (resize columns, move columns, ... ). Is there possibility from the code to reset grid to the default (start-up) look?
Thanks.
RARajasekar Syncfusion Team March 30, 2012 12:02 PM UTC
Hi Tomana,
Thanks for your reply.
1)In the GridDataControl loaded event you can Serialize the GridDataTableModel by using the below methods,
grid.Model.Serialize(@"..\..\test.xml");
2)Now you can play with grid like resizing columns, editing the values..etc.
3)Then, you can De-Serialize by using the below method by using some button click event.