Hi Jhonathan,
Thanks for using Syncfusion product.
To deserialize the GridGroupingControl with appearance settings, you could use the ApplyXmlLookAndFeel method. Please refer the below code example and modified sample.
Code example
using (var stringReader2 = new StringReader(layoutData1))
{
using (var xmlReader = XmlReader.Create(stringReader2))
{
gridGroupingControl1.ApplyXmlLookAndFeel(xmlReader);
}
} |
Please refer the following UG link,
Note:
In your code part, you have set the Metro theme before assigning the datasource. So, font settings are restored when assigning the datasource for the grid. So, font changes will appear when you try to deserialize the grid using ApplyXmlLookAndFeel method.
Please let us know if you need any further assistance on this.
Arulraj A