Highlighted

Not able to populate data in the combo box

Avatar

Avatar

San_info

Avatar

San_info

San_info

05-05-2008

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" />

Replies

Highlighted

Avatar

Avatar

BrentLamborn

Avatar

BrentLamborn

BrentLamborn

06-05-2008

What does the data look like in the result? Is it XML? Post a
sample of it.