2 Replies Latest reply on Jun 5, 2011 11:55 PM by Flex harUI

    fx:Model works with mx datagrid but not spark ??

    Daniel Pride Level 1

      Using the Lynda example,... the Mx DataGrid works but the Spark does not????

      Model is new to Flex 4, shouldn't it work with spark?

       

        <fx:Declarations>
          <fx:Model id="productModel" source="data/products.xml"/>
        </fx:Declarations>

       

        <mx:DataGrid dataProvider="{productModel.product}"/>
         <s:DataGrid dataProvider="{productModel.product}"/>