Does anyone know, is there any way to catch ItemClick Event in a Flex ComboBox (or anything similar). Maybe there’s any trick .. 🙂 I do realize, that I can customize it, but this not suits my case.
Thanks for your time 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As you can see in
mx:ComboBoxsources, the function, creating the dropdown list, is private, the listener toITEM_CLICKis private and the list itself is also private:So you can not even extend
ComboBox.The only public thing is
dropdownFactory, which theoretically can be overriden to somehow register the created dropdown list or create extended list. But the problem I see is thatComboBoxis not the parent of dropdown list – PopupManager is. This can make dispatching (bubble) events quite difficult.