How can I give value to combo box entries. For example, in combo box, I have Array Collection and inside it, I am adding strings like mx:String. I want to give it different value than the text. How can I do it?
+2
A:
You can use the labelField
property in the ComboBox to specify the field in your dataProvider which will be seen as the label in the dropdown.
Robusto
2010-08-02 15:41:38
A:
alternatively, use the labelFunction to create a label that doesn't necessarily rely on a single field.
Gregor Kiddie
2010-08-03 10:44:19