Can you post a mini-example?

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of carl_steinhilber
Sent: Sunday, December 02, 2007 11:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using DateField as itemEditor for DataGrid column

 


I'm having a problem using a DateField as a itemRenderer/editor for a
column in a dataGrid.

If I set the DateField as my itemEditor, everything works perfectly.
But if I set the DateField as my itemRenderer and set rendererIsEditor
to true the dataGrid renders completely blank (no data in *any* field)
and locks down so *nothing* is editable.

In reading posts in the archives in this group and elsewhere, folks
with similar issues were told to make sure the data bound to the
column is of type date.
But I have two issues with that:
1) if it wasn't understood as being of type date, why would it work
when the dateField was set as the itemEditor
and
2) I'm loading in the dataProvider for the DataGrid as a Bindable
XMLListCollection from an external XML file... and I'm not sure how I
can designate in XML that the node is of type date.

Anyone have any info or pointers? They'd be greatly appreciated.

Thanks in advance!
-Carl

 

Reply via email to