Basically....
function formatme(item):String
{
return(formatDate.format(item.myDate));
}
<mx:DateFormatter id="formatDate" formatString="MM/DD/YY"/>
<mx:DataGridColumn columnName="myDate" headerText="Created On"
labelFunction="formatme" />
Joe wrote:
>I have a data gris that is producing about 20 rows from a data source.
>One of the columns is displaying a date. How do I format that date.
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/