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 ???
Apache Flex
Last Comment
mokatell
8/22/2022 - Mon
zzynx
Can you show us the code of that item renderer in both cases?
as i told u if i have datagrid instead of list .. i would call parentDocument.method only one time but as u can see with list i have to do it twice ? !!!!!
>> same senario for both ...
Meaning?
What class is parentDocument an instance of?
Can you post as attachments
- the code of your renderer
- the code where you use it with a List
- the code where you use it with a DataGrid
so I can run it myself?
zzynx
Well,... better late than never ;)
Thanx 4 axxepting
mokatell
ASKER
heheh my friend i was on vacation .. thats it .
sorry for being late