Components Flex


    
    xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
     
         
        import mx.collections.*; 
        import mx.controls.DateField; 
        import mx.collections.ArrayCollection; 
        [Bindable] 
        private var catalog:ArrayCollection = new ArrayCollection([ 
            {confirmed: new Date(), Location: "Spain"}, 
            {confirmed: new Date(2006,0,15), Location: "Italy"}, 
            {confirmed: new Date(2004,9,24), Location: "Bora Bora"}, 
            {confirmed: new Date(), Location: "Vietnam"} 
        ]); 
      
    

            dataProvider="{catalog}" editable="true" labelField="confirmed"
        itemEditor="mx.controls.DateField" editorDataField="selectedDate" />