GridGroupingLookAndFeel

Hi,

I have just noticed that there is a WriteXmlLookAndFeel method which is responsible to serialize things like GridVisualStyles. I think this is new in the current version - in the previous version this was done with the WriteXmlSchema method.

So how can I deserialize an xml file which was created with the WriteXmlLookAndFeel method. I didn't find a method like:

GridEngine engine = GridEngine.CreateFromXml(...);
gridGroupingControl.Engine.InitializeFrom(engine);

Cheers,
Franz

3 Replies

MS Mohamed Suhaib Fahad A. Syncfusion Team September 26, 2007 08:17 AM UTC

Hi Franz,

You have to use ApplyXmlLookAndFeel(..) function for reapplying the saved state. The LookAndFeel refers to property settings in the GridGroupingControl such as whether the AddNewRow is below or above the records, color properties, etc.

I have a sample prepared for demonstrating this. Please download it from the following link,

http://websamples.syncfusion.com/samples/Grid.Windows/F68447/main.htm

Please let me know if this helps you out.

Thanks,
Fahad


AK Arseny Khutoriansky December 20, 2010 09:20 AM UTC

The link is not valid.
Can u repost it?



JJ Jisha Joy Syncfusion Team December 21, 2010 06:21 AM UTC

Hi,

Please refer to the attached sample.


Regards,
Jisha



F68447_98b88186.zip

Loader.
Up arrow icon