1 Reply Latest reply on Dec 22, 2009 9:47 PM by Flex harUI

    Datagrid + Provide Array to Dataprovider


      I have two XML assigned to variables nG & dT.


      Can I do this


      var arrays:Array = new Array();

      arrays[0] = nG;

      arrays[1] = dT;

      springgraph.dataProvider = arrays;


      If so, then how do I access the elements of each array in the datagrid (dg)?


      I tried data.id.getItemAt(0) / data[0].id, but none seem to work.