But I want to assign dataProvider at run time.
--- In [email protected], Joan Lafferty <[EMAIL PROTECTED]> wrote:
>
> Then, you'll want to create a custom component from the ComboBox. In
the custom component, assign the dataProvider. Then, at runtime,
assign the custom component that is a ComboBox as the itemRenderer.
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of markgoldin_2000
> Sent: Sunday, September 14, 2008 4:16 PM
> To: [email protected]
> Subject: [flexcoders] Re: Combobox as Custom Renderer
>
>
> But I am assigning the custom renderer in code at run time.
>
> --- In
[email protected]<mailto:flexcoders%40yahoogroups.com>, Joan
Lafferty <tan@> wrote:
> >
> > If you are using an inline itemRenderer, you can do something like
> this:
> >
> > <mx:List dataProvider="{myData}">
> > <mx:itemRenderer>
> > <mx:Component>
> > <mx:ComboBox dataProvider="{myXML}" />
> > </mx:Component>
> > </mx:itemRenderer>
> > </mx:List>
> >
> > From:
[email protected]<mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected]<mailto:flexcoders%40yahoogroups.com
>]
> On Behalf Of markgoldin_2000
> > Sent: Sunday, September 14, 2008 10:14 AM
> > To:
[email protected]<mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Combobox as Custom Renderer
> >
> >
> > If I have a combobox as a custom renderer how do I set
dataProvider
> > for the combobox? My dataProvider is an XML.
> >
> > Thanks
> >
>