4 Replies Latest reply on Aug 18, 2008 10:17 AM by joshua.java

    Accessing Object property in DataGrid

    joshua.java Level 1
      Dear all,

      I want to display a Object property in DataGridColumn's
      dataField. How do I this in Flex?

      In my dataProvider I have an object namely called member.

      Now from the DataGridColumn's dataField, how do I display member.firstName?

      This is what I meant:

      <mx:DataGrid dataProvider="{orders}" width="100%" height="100%"
      id="dataGrid" change="view()">
      <mx:DataGridColumn dataField="member.code" headerText="Code"/

      Could anyone give me a hint please?

      Best regards,