list - How to show a default selecteditem in a flex combobox -
in flex application how display default selecteditem dataprovider of combobox.
i'm using {staticdataholder.currencylist}.
for example: have show india should selected default list.
where india 1 of value in currencylist.
all suggestions welcome.
thank you.
you need loop through dataprovider , set selected object:
example:
for each ( var obj:object in staticdataholder.currencylist ) { if ( obj == "india" ) { cbx.selecteditem = obj; break; } }
Comments
Post a Comment