Grid Flex


    backgroundColor="white">
    
        
        import mx.collections.ArrayCollection;
        [Bindable]
        public var myAC:ArrayCollection = new ArrayCollection([
            {name:"A", username:"a",dtJoined:"01/02/2011"},
            {name:"T", username:"t",dtJoined:"03/12/201"},
        ]);
        
        public function formatDate(rowItem:Object,column:DataGridColumn):String
        {
            var retVal:String = "";
            if(column.dataField == "dtJoined")
                retVal = dFmt.format(rowItem.dtJoined);
            else if(column.dataField == "dtLogin")
                retVal = dFmt.format(rowItem.dtLogin);
            return retVal;
        }