I can do that., but I want to do it I want to do this as a (reusable
custom component).. so I tried using 'parent.' but 'parent' from
itemrenderer is pointing to Listbox(dropdown of combobox), and I also
used 'parent.parent'  but no use..

Is there any other way?

On Jan 4, 7:59 pm, Kiran Kumar Vasireddy <[email protected]> wrote:
> Did you try giving an Id to combox and tried accessing it directly or by
> using outerDocument ?
>
> Regards
> Kirab
>
> On Sat, Jan 2, 2010 at 5:04 AM, comgeek <[email protected]> wrote:
> > my Code is like this
>
> > <mx:ComboBox labelField="name">
> >    <mx:itemRenderer>
> >        <mx:Component>
> >             <mx:TextInput text={data[labelField]}    />
> >        </mx:Component>
> >  </mx:itemRenderer>
> > </mx:ComboBox
>
> > In itemrenderer I want to get the labelField property of the combobox
> > but how can I get it..
>
> > when I used this.parent in itemrenderer its showing some 'ListBast and
> > not the 'ComboBox'
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Flex India Community" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<flex_india%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.
-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.


Reply via email to