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 {
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
2 matches
Mail list logo