[flexcoders] How to set the datetime format in datagrid?

2008-04-03 Thread markflex2007
Hi,

I have a program the read datetime fields for SQL Server and show in
datagrid.

I do not know how to set the date format in datagrid (mx:DataGridColumn),

Please help me.

Please let me know if you have demo link.

Thanks.



Re: [flexcoders] How to set the datetime format in datagrid?

2008-04-03 Thread Muzak
Look up DataGridColumn.labelFunction and DateFormatter in the docs.

http://livedocs.adobe.com/flex/3/langref/mx/controls/dataGridClasses/DataGridColumn.html
http://livedocs.adobe.com/flex/3/langref/mx/formatters/DateFormatter.html

- Original Message - 
From: markflex2007 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, April 03, 2008 9:55 PM
Subject: [flexcoders] How to set the datetime format in datagrid?


Hi,

I have a program the read datetime fields for SQL Server and show in
datagrid.

I do not know how to set the date format in datagrid (mx:DataGridColumn),

Please help me.

Please let me know if you have demo link.

Thanks.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/



RE: [flexcoders] How to set the datetime format in datagrid?

2008-04-03 Thread Alex Harui
There should be an example somewhere of hooking up a Formatter to a
column's labelFunction

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markflex2007
Sent: Thursday, April 03, 2008 12:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set the datetime format in datagrid?

 

Hi,

I have a program the read datetime fields for SQL Server and show in
datagrid.

I do not know how to set the date format in datagrid
(mx:DataGridColumn),

Please help me.

Please let me know if you have demo link.

Thanks.