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. Image for the cookie policy date

Grid for displaying (hierarchical) XML data?

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

4 Replies

JJ Jisha Joy Syncfusion Team September 23, 2009 09:37 AM UTC

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


JJ Jisha Joy Syncfusion Team September 23, 2009 09:47 AM UTC

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


TW Thomas Wilson September 23, 2009 11:20 AM UTC

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.


JJ Jisha Joy Syncfusion Team September 24, 2009 08:52 AM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon