when i add the code and launch, i get a white screen - no errors. I'm able to do it in the flex libraries but not spark, here is my code (top does not work so commented out)
<s:DataGrid dataProvider="{EdsDataArray}" width="100%">
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="id"/>
<s:GridColumn dataField="NAME"/>
<s:GridColumn headerText="Remove">
<!--s:itemRenderer>
<fx:Component>
<mx:Button label="Delete" click=""/>
</fx:Component>
</s:itemRenderer-->
</s:GridColumn>
</s:ArrayList>
</s:columns>
</s:DataGrid>
<mx:DataGrid id="dg" dataProvider="{EdsDataArray}" width="100%">
<mx:columns>
<mx:DataGridColumn headerText="ID" dataField="id"/>
<mx:DataGridColumn headerText="NAME" dataField="NAME"/>
<mx:DataGridColumn headerText="Remove">
<mx:itemRenderer>
<fx:Component>
<mx:Button label="Delete" click=""/>
</fx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
North America
Europe, Middle East and Africa
Asia Pacific