Re: [flexcoders] More DateFormatter Shinanagans

2008-07-17 Thread Ramnish Kalsi
Last time when I tried, this was working for me. It *may* give you an idea. See the labelFunction... mx:DataGridColumn dataField=availabilityDate headerText=Availability Date editable=false labelFunction=formatDate/ private function formatDate(item:Object, column:DataGridColumn):String {

[flexcoders] More DateFormatter Shinanagans

2008-07-16 Thread Dominic Pazula
I cannot seem to get the proper year out of a DateFormatter. Can someone tell me what I am doing wrong: I have a component: mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% creationComplete=init() mx:Script ![CDATA[ import