A few months ago, I created a component called NestedDataGrid, to address the annoying issue with DataGrids not being able to support nested properties within objects.  This component allows a DataGridColumn’s dataField property to contain a property chain such as:  “object.property.propertyList[2]“.  This is something that wasn’t possible with a default DataGrid.  However, being busy with school (just got my master’s degree in April!  wahoo!) and work, I didn’t have time to build in support for XML-based dataProviders.  After a few requests, I decided to change that and update the NestedDataGrid to support XML.

NestedDataGrid

As of today, the NestedDataGrid can display and sort complex Nested XML dataFields such as:  “xml.node.nodeList[3].@attribute”.  I hope that this update helps ease the frustration of having to flatten XML trees, define custom label functions and/or sort functions, or create custom item renderers to get around this issue.

See the demo and get the source here (Right click to View and Download Source).