Andre,
Here is the way to replace combobox dropdown with configurable datagrid from my recent post:
 
Adding icon might look simplier if you apply iconField to dropdown property of the combobox, but making sure that symbols are linked can be tricky. You might consider using control.dropdown.iconFunction instead as it gives you an ability to debug the data requested and symbol returned. Also please make sure you apply these properties after the combobox is initialized for "dropdown" to work, and association is created in the code rather then on the control itself (and the later the better) as the "dropdown" can be destroyed and recreated (on reassignment of dataProvider as an example).
 
However, using cusom class overloading getDropdown method as in the link provided is going to be the most reliable solution - and you can replace dropdown with datagrid or tree or any other "list" tailored for RIA experience.
 
HTH,
Anatole Tartakovsky
 
 
 
----- Original Message -----
Sent: Thursday, November 17, 2005 10:53 AM
Subject: [flexcoders] ComboBox and Icons


Hi all,

does anybody know, if there is a possibility to add an icon to each item of a combobox -
(I know it works with a mx:List via attribute iconField... :)

thanxs
andré ehlert

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to