I am trying to figure out a way to render dates that come from MySQL (YYYY-MM-DD).
This is the error message I get:
Type Coercion failed: cannot convert "2003-09-02" to Date.
I am using the following as a renderer:
dgc.itemRenderer = new ClassFactory(mx.controls.DateField);
Where dgc is an AdvancedDataGridColumn object.
I tried using a labelFunction to convert the string to a date using DateField.stringToDate, but it seems that the labelFunction is called after the renderer.