Components Flex



    xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"
    width="650">
     
         
        import mx.collections.ArrayCollection; 
        [Bindable] 
        private var initDG:ArrayCollection = new ArrayCollection([ 
        {Company: 'Acme', Contact: 'Bob Jones',Phone: '413-555-1212', Date: '5/5/05' , FollowUp: true }, 
        {Company: 'Allied', Contact: 'Jane Smith',Phone: '617-555-3434', Date: '5/6/05' , FollowUp: false} 
        ]); 
      
    

    
        
            
            
            
            
                            headerText="Follow Up?" editorDataField="cbSelected" editorXOffset="15"
                editorYOffset="15">
                
                    
                        
                             
                                 
                                // Define a property for returning 
                                // the new value to the cell. 
                                [Bindable] 
                                public var cbSelected:Boolean; 
                              
                            

                                                            height="100%" width="100%" selected="{data.FollowUp}"
                                click="cbSelected=followUpCB.selected" />