1 Reply Latest reply on Feb 19, 2008 4:11 AM by satishreddy536

    ComboBox Problem

    satishreddy536
      hello,
      am using comboboxes in my flex application
      i have a datagrid inside that grid i have a combobox
      am populating the combobox using dataprovider
      but data is populates as [object][object] like this
      here is my code


      <mx:DataGridColumn id="status" dataField="status" headerText="CURRENTLY ACTIVE" editable="true" editorDataField="selectedItem" rendererIsEditor="true">
      <mx:itemRenderer>
      <mx:Component>
      <mx:ComboBox labelField="status" dataProvider="{parentApplication.globalData.Active}" />
      </mx:Component>
      </mx:itemRenderer>
      </mx:DataGridColumn>

      gloabalData is a xml file where it's having that
      <Active label='Yes' data='Y'>
      <Active label='No' data='N'>

      waiting for replies