Thanks Alex,

I was using label function to display 10/17/2007 00:00:00 and then wanted the 
user to be able to change the time manually. But they can't edit the datefield. 
Do you think i should write a custom component for it or is there a way to make 
this editable.

Jas


----- Original Message ----
From: Alex Harui <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, October 17, 2007 2:10:07 PM
Subject: RE: [flexcoders] editing Datefield itemrenderer

dateField doesn’t let you pick the time.  You’ll need a custom component as 
your itemEditor.
 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of gur_sukh
Sent: Wednesday, October 17, 2007 1:08 PM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] editing Datefield itemrenderer
 
Hi,

I need to add time to the date in a datagrid column. The code is as
following. I can't edit the time field.

<mx:DataGridColumn dataField="startDat e"
sortable="true" 
resizable="true" 
labelFunction= "formatGridStart Date" 
headerText=" Start Date" 
itemEditor=" mx.controls. DateField" 
editorDataField= "selectedDate" />
<mx:DataGridColumn dataField="endDate" 
sortable="true" 
resizable="true" 
labelFunction= "formatGridEndDa te" 
editable="true" 
headerText=" End Date" 
itemRenderer= "mx.controls. DateField" 
rendererIsEditor= "true" 
editorDataField= "selectedDate" />



      Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca

Reply via email to