We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

keep all of the grid grouping settings when update datasource

Thread ID:

Created:

Updated:

Platform:

Replies:

82742 Jun 19,2009 04:57 PM Jun 23,2009 02:21 AM Windows Forms 1
loading
Tags: GridControl
David Cui
Asked On June 19, 2009 04:57 PM


Hi,

Is there easier way to keep all of the GridGrouping control 's all settings user put during run time WHEN we reset a new instance DataTable to its datasource.

best,

David

Jisha Joy [Syncfusion]
Replied On June 23, 2009 02:21 AM

Hi David,

Thank you for posting query to us.

You could save/load the schema information using XML serialization/deserialization. Please check out our sample browser sample from the below location:
..\\My Documents\syncfusion\essentialstudio\7.2.0.20\Windows\Grid.Grouping.Windows\Samples\2.0\Serialization\Employee View Xml Demo\cs

This sample demonstrates saving a data table and its theme and schema of information to individual XML files.

Features:

In the Initialize menu handler, a data set bound to the Grid Grouping control is filled from an adapter

In the Save menu handler:

Table record field styles are serialized to TableRecordFieldStylesCollection.xml

The data set is serialized to DataSet.xml

The appearance is serialized to LookAndFeel.xml

Engine schema is serialized to EngineSchema.xml

This sample shows you how to handle the QueryCellStyleInfo and look up cell-specific formatting information from a separate store

TableRecordFieldStylesCollection lets you add custom formatting to individual fields in a record that is identified by using the primary key of the record and the field name

Please let me know if this helps.

Regards,
Jisha

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;