If you cast your service call result to a [Bindable] collection, and
bind the collection to the ComboBox's dataProvider, the ComboBox should
display populated.  With binding you don't have to worry about timing. 
When the ComboBox is instantiated it will pull the data; if it exists. 
If not, the data will get pushed to the ComboBox; when it arrives.

-TH

--- In flexcoders@yahoogroups.com, "flexaustin" <flexaus...@...> wrote:
>
> So I have a tabNavigator with 3 tabs. I have set creationPolicy ="all"
so that to the user it displays quickly.
>
> The issue that I have a combobox on tab#3 of the tabNav. and when I
set creation="all" and tab#3 is selected the combobox is empty. If set
the creationpolicy="auto" the data shows up in the combobox.
>
> I assume that what is happening is that tab#3 is getting created
imeediately before the data arrives. FYI the data is requested the
minute the entire tab is shown, which when creation is complete always
shows tab #1. Thus I think the vbox and its children are getting created
without the data.
>
> So I assume some how I need to invalideSize and invalidateProps on the
combobox when tab#3 is clicked so it will pull in the data?
>
> TIA, J
>



Reply via email to