Data Model Flex



    
        
        import mx.collections.ArrayCollection;
        [Bindable]
        public var myAC:ArrayCollection = new ArrayCollection([
            {name:"A", email:"a@domain.com"},
            {name:"B", email:"b@domain.com"},
            {name:"C", email:"c@domain.com"}
        ]);
      
    

                     width="500" 
                 height="150"
                 dataProvider="{myAC}">
        
                                           headerText="Contact Name" 
                               width="300" />
                                           headerText="E-Mail" 
                               width="200" />