RIAs, Adobe Flex, and related topics

About
Resume
Contact

August 20, 2008

AdvancedDataGrid with XML

Filed under: Flex — jimrobson @ 1:17 am

In a prior post I promised to provide some thoughts on the AdvancedDataGrid and XML. Well, that post was written about 4 months ago, and I’m finally delivering. I’ve put together a simple demo to show how the AdvancedDataGrid works with XML data:

Screen shot of AdvancedDataGridWithXML application
Each of the first three tabs works with a different XML file. Each of these files contains essentially the same data; the differences are in the way the data is structured. The fourth tab illustrates what appears to be an error in the Flex documentation.

If I try to explain the differences between the XML files, this will turn into a very long post. A code sample is worth a million words, so I’ll leave it to you to explore the demo (right-click on the demo to view and download the source). Let me know your thoughts, comments, corrections, questions, etc.

2 Comments »

  1. Strange…

    Did you post a bug on JIRA?

    - Jason

    PS - Good to see you posting again my friend.

    Comment by Jason The Saj — August 20, 2008 @ 2:46 pm

  2. @Jason:

    I don’t think it’s a bug; I think it’s just the facts of life regarding XML and the AdvancedDataGrid. I intended to mention that for most real-world applications, binding the XML directly to the grid is not the best way to go anyway. I hope to post more on that “soon”. :-)

    I did send something in to LiveDocs about the apparent error there, but didn’t get a response.

    Comment by jimrobson — August 21, 2008 @ 10:24 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment


Powered by WordPress