2 Replies Latest reply on Oct 4, 2010 10:13 AM by Flex harUI

    COMBOBOX ItemRenderer returns TypeError: Error #1034: Type Coercion failed: ? Help

    majester8425

      I am trying to use an inline combobox itemrenderer but when run it always returns TypeError: Error #1034: Type Coercion failed: This is the code

       

      <mx:DataGridColumn

       

      rendererIsEditor="true" headerText="Owned By" >

           <mx:itemRenderer>

                <fx:Component>

                     <s:ItemRenderer>

       

       

                          <s:states>

                               <s:State name="normal"/>

                          </s:states>

                          <mx:HBox>

                               <s:ComboBox labelField="FULLNAME" selectedItem="{data.EMP_NM}" dataProvider="{outerDocument.empDataAc}"></s:ComboBox>

                          </mx:HBox>

                     </s:ItemRenderer>

                </fx:Component>

           </mx:itemRenderer>

       

       

      </mx:DataGridColumn>

       

      Any ideas ?