I have been struggling for over a week on this issue now:
I have a datagrid of which the dataProvider is a remoteObject
from AMFPHP. It consists of columns taskid,task_description,
due_date and person_responsible. The problem is as follows:
The due_date field should be a dateField itemEditor. If i
follow this example
http://shigeru-nakagaki.com/flex_samples/DataGrid/DateFieldEditor/DateFieldEditor.html then the datefield works fine, but i cannot retrieve the new
date value from the 'getCellInfo(event:DataGridEvent)' once I have
selected it. I can always retrieve the previous value easily, but
not new value. To complicate things further, other methods throw
the implicit coersion error for string/object to date and vice
versa. There is also no way of specifying the due_date field as a
type date within the remoteObject either.
I had similar problem about getting previous values and not
new ones...i fixed mine by using a lower priority in the
addEventListener call for the datagrid. i.e here is my comment to
self in my code...
//-- A datagrid updates its dataprovider via an automatic
eventlistener with a priority at -50.
//-- So we need a lower priority (-100) for our eventlistener
if we are to see the NEW
//-- post edited value from the datagrid. Otherwise we would
get a default 0 (zero)
//-- priority if we didnt explicitly set an eventlistener
priority and only see the original
//-- value that we were editing and not the new one.