I have a question in regards to editing a date in a DataGrid. I have this code:
<mx:DataGrid id="memberGrid" width="480" height="140" editable="true"> <mx:columns> <mx:DataGridColumn textAlign="left" dataField="fullName" headerText="Name"/> <mx:DataGridColumn labelFunction="formatDate" headerText="Start Date" itemRenderer="mx.controls.DateField" editorDataField="selectedDate"/> </mx:columns> </mx:DataGrid> Where the labelFunction calls a function to edit and format a date (dd-mmm-yyyy), which works fine - but then I'd like to edit the date using the DateField. I know that it needs to be a date, but how does one do this? Do I need to create a custom itemrenderer to do this? When I use the DateField, the format of the date is funky and it doesn't show the correct date - unless I pick a new date. thanks! -- 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/