1 Reply Latest reply on May 6, 2008 11:39 AM by Brent Lamborn

    Not able to populate data in the combo box

    San_info
      Hi Guys,

      I m new to flex development and I want to populate the data coming from the databasein the combobox.I am able to get the length .but not able to populate the data.
      Can anyone helpme out?

      The code is below:
      The data displayed in the combox box is displayed as [object],[object] etc.I m sure that the data is coming from the database and its not populated in the combo box.any help is appreciated.
      private function getParkinfo(event:ResultEvent):void
      { Alert.show(event.result.length.toString());

      countries.dataProvider = event.result;


      }
      <mx:ComboBox id="countries" />