Grid Flex



    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx">
    
         
        private function myGrid_initialize():void { 
        myGrid.dataProvider = [ 
            {Artist:'Steve Goodman', Album:'High and Outside', Price:8.99}, 
            {Artist:'Carole King', Album:'Tapestry', Price:11.99}, 
            {Artist:'The Beach Boys', Album:'Pet Sounds', Price:13.99}, 
            {Artist:'Original Cast', Album:'Camelot', Price:9.99} ]; 
        } 
      
    

            creationComplete="myGrid_initialize();" />