Define objects using properties directly in the Object tags
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:DataGrid> <mx:ArrayCollection> <mx:Object Artist="A" Album="AA" Price="11.99" /> <mx:Object Artist="B" Album="CC" Price="11.99" /> </mx:ArrayCollection> </mx:DataGrid> </mx:Application>