Default setting for DataGrid
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Model id="financialModel"> <data> <row> <quarter>1</quarter> <open>3</open> <close>2</close> <high>4</high> <low>1</low> </row> <row> <quarter>2</quarter> <open>2</open> <close>3</close> <high>6</high> <low>1</low> </row> <row> <quarter>3</quarter> <open>3</open> <close>6</close> <high>14</high> <low>9</low> </row> </data> </mx:Model> <mx:ArrayCollection id="financialData" source="{financialModel.row}"/> <mx:DataGrid dataProvider="{financialData}" rowCount="3"/> </mx:Application>