2 Replies Latest reply on Jul 21, 2010 6:32 AM by lagrangee_wl

    Issue on binding e4x to dataprovider

    lagrangee_wl

      I have a items.xml like this:

       

      <items>

           <item>..</item>
           <item>..</item>

           <item>..</item>

      </items>

       

      In mxml, the codes are:

       

      <fx:XML id="dataSet" source="items.xml" format="e4x"/>

      <mx:DataGrid dataProvider="{dataSet.item}">

       

      The datagrid is empty.

       

      Anyone can help?  thanks!