[flexcoders] Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Artur Kordowski
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

RE: [flexcoders] Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Dirk Eismann
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: flexcoders@yahoogroups.com im Auftrag von Artur Kordowski Gesendet: Mi 26.07.2006 11:56 An:

RE: [flexcoders] Get the reference of a DataGrid cell in a itemRenderer

2006-07-26 Thread Artur Kordowski
Thanks for the quick help guys :) Artur -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Wednesday, July 26, 2006 12:39 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Get the reference of a DataGrid cell in a