troubleshooting Question

flex - list item renderer

Avatar of mokatell
mokatell asked on
Apache Flex
7 Comments1 Solution849 ViewsLast Modified:
dear experts ...
i have a question regarding the item renderer in flex for list ...

what is confusing me is the following ..

suppose i have component A has datagrid and this datagrid has item renderer ... if i wan to access any method in component A ... i am using parentDoucment.methodName ();

everything is fine till now ...

but i wanna know when i have item renderer for list and i want to access method in component A
i have ot use parentDocument.parentDocument.mehodName ...

so why i have to use twice the parentDocument when i have list ???
Sr. Software engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros