Na Kollege :) You probably only have to cast listOwner to DataGrid to make it work, i.e. DataGrid(listData.owner).indexToItemRenderer(1); Cheers, Dirk.
________________________________ Von: [email protected] im Auftrag von Artur Kordowski Gesendet: Mi 26.07.2006 11:56 An: [email protected] Betreff: [flexcoders] Get the reference of a DataGrid cell in a itemRenderer In Flex 1.5 there was a way to get the reference of a DataGrid cell by using listOwner.rows[1].cells[1]. The same I try to do in Flex 2. I've tried to get the reference in my itemRenderer by using listData.owner.indexToItemRenderer(1). But in a itemRenderer the owner variable haven't any indexToItemRenderer() function. I need the reference to disable some controls if an other cell is clicked. Have anyone an idea how I can do it or in wich way I got the reference of the cell? Any help will be appreciate. Artur ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/WktRrD/lOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
<<winmail.dat>>

