简体   繁体   中英

SWF “loading” icon in a flex combobox drop down

In the flex web app i'm working on, i need to show a loading icon (an SWF spinner) in the combobox drop down until the user list is initialized. Is there any way to do this?

You need to extend ComboBox, suppress dropdown appearance if data not ready, and show some replacement of dropdown with animation. When data is ready, set it into dataProvider and open dropdown programmatically.

showBusyCursor = true when the data starts to load.
showBusyCursor = false when you are done getting the data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM