Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Not able to populate data in the combo box

Avatar

Avatar
Level 1
San_info
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
San_info
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
San_info
Level 1

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

Avatar

Avatar
Level 1
BrentLamborn
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
BrentLamborn
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
BrentLamborn
Level 1

06-05-2008

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