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.

Grid for displaying (hierarchical) XML data?

Thread ID:

Created:

Updated:

Platform:

Replies:

90215 Sep 22,2009 07:55 AM Sep 24,2009 04:52 AM Windows Forms 4
loading
Tags: GridControl
Thomas Wilson
Asked On September 22, 2009 07:55 AM

Hi,

I have an XML datasource which has several levels of data (sometimes up to 4 or 5), which I would like to display to the user and allow them to manipulate. Ideally they should then be able to hit "save" or similar, and have the XML adjusted accordingly.

The 'grid' only needs two columns - property and value.

The Virtual Tree Grid looks good for this, however I don't quite understand the collapsible data source format it uses. Is there a way I can give it an XML source?

The GridControl looks like another candidate, though the sample keeps crashing - I'm not sure it supports hierarchical XML data either.

Thanks,
Tom

Jisha Joy [Syncfusion]
Replied On September 23, 2009 05:37 AM

Hi Tom,

Thank you for your interest in Syncfusion products.

You could use our GridGroupingControl to display hierarchical data. Please refer the following sample that displays hierarchical XML data in GridGroupingControl:

rel='nofollow' href="
http://files.syncfusion.com/support/Grid.Windows/90215.zip">http://files.syncfusion.com/support/Grid.Windows/90215.zip

You could also refer the samples under the following category from our sample browser:

Grid.Grouping samples--->Relations And Hierarchy

Local path:

..\My Documents\syncfusion\essentialstudio\{installed version}\Windows\Grid.Grouping.Windows\Samples\2.0\Relations And Hierarchy

Please let me know if you have any questions.

Regards,
Jisha

Jisha Joy [Syncfusion]
Replied On September 23, 2009 05:47 AM

Hi Tom,

Sample link seems to be broken. Please use the following link for the sample:

http://files.syncfusion.com/support/Grid.Windows/90215.zip

Regards,
Jisha

Thomas Wilson
Replied On September 23, 2009 07:20 AM

Hi,

This example doesn't seem to load - it gives an error regarding the import statement - Microsoft.CSharp.target not found.

I have looked at the GroupingGridControl before and unfrotunately it's not quite what I'm looking for. Something like the PropertyGrid component from .NET would be ideal.

Jisha Joy [Syncfusion]
Replied On September 24, 2009 04:52 AM

Hi Tom,

The sample provided in the previous update is in .Netframework 3.5. It cannnot be opened im Visual Studio 2005. Please use the following sample in .Netframework 2.0.
http://files.syncfusion.com/support/Grid.Windows/90215_1.zip

Regarding GridGroupingControl - This is a bound grid that supports nested tables, filtering, groupings, summaries, etc. It is our most complete featured bound grid. And as such, should be considered first for any application where you want a grid to display data in a external datasource.

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.

;