4 Replies Latest reply on Aug 21, 2009 5:45 AM by csr_1978

    Question on DataGridColumn dataField

    csr_1978 Level 1



      I have a DataGrid and my dataProvider is an ArrayCollection which is a collection of complex objects.


      I am trying this code


      <mx:DataGrid dataProvider="{aCollection}">

               <mx:DataGridColumn dataField="object1.name" headerText="Name" />




      But this doesn't work. If i put object1 in dataField its displaying the object but i want to display name property in object1. How can we acheive this?