5 Replies Latest reply on Jan 24, 2011 9:36 AM by flyingace

    Datefield as itemrender results in Error #1034: Type Coercion failed: cannot convert "03/10/2006"

    majester8425 Level 1

      I have an in line itemrender.

       

      <mx:DataGridColumn dataField="solddate"
                      headerText="Date" 
                      itemRenderer="mx.controls.DateField"
                      rendererIsEditor="true"
                      editorDataField="selectedDate"/>

      XML =

      <solddate>03/10/2006</solddate>

       

      This results in

       

      Datefield as itemrender results in Error #1034: Type Coercion failed: cannot convert "03/10/2006" to Date.

       

      Is there a way for me to either

      1. Modify the xml output to the required format

      or

      2. Convert the data within the itemrenderer