flex3 - ComboBox in Flex -
I have a Cambodia with multiple selection. When I click on the add button, which is the selection of data in Cambodia, then those data needs to be displayed in the second combo box.
Please check the code and none of you can help me on this. / P>
& lt; Mx: hbox & gt; & Lt; Mx: label width = "140" text = "{resourceManager.getString ('resource', 'settings_configuration_database_select_object_instance')}" /> & Lt; Mx: list id = "obj_instance" enabled = "true" permission majority choice = "right" width = "164" height = "70" /> & Lt; Mx: spacer width = "20" /> & Lt; Mx: button label = "& gt; & gt;" /> & Lt; Mx: list id = "selected_instance" enabled = "true" permission majority choice = "right" width = "164" height = "70" /> & Lt; / Mx: hbox & gt;
Thanks, Sun
What about it:
& lt; Ov: hp button label = "& gt; & gt;" & Gt; & Lt; Ov: Click & gt; & Lt ;! [Each (for different items: * obj_instance.selectedItems) CDATA selected_instance.dataProvider.addItem (item); ]] & Gt; & Lt; / Ov: & gt; gt; & Lt; / Ov: HPButton & gt; Of course, you have to make sure that the example of a dataprator
is correct (such as a ArrayCollection
) ...
Comments
Post a Comment