Re: [flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-06-24 Thread Andrew D. Goodfellow
Hi Gordon, I actually found a use-case where I think this is needed. If you are interested I'd be happy to discuss it with you off-list. -Andy On Mon, Apr 28, 2008 at 8:12 PM, Gordon Smith [EMAIL PROTECTED] wrote: Can you please explain your use case for needing a reference to an item

[flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-04-28 Thread Marcin Glowacki
OK, thanks for your input. However, I would appreciate any hints on how I could write a method in MyDataGrid that will return reference to itemRenderer or itemEditor or null at any given point in time. If a given row is not displayed on the screen this method should return null, otherwise

RE: [flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-04-28 Thread Tracy Spratt
You are probably making a mistake, but, from the docs: indexToItemRenderer () method public function indexToItemRenderer(index:int http://127.0.0.1:58469/help/topic/com.adobe.flexbuilder.help/langref/in t.html ):IListItemRenderer

[flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-04-28 Thread Marcin Glowacki
Thanks, I will give it a shut --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: You are probably making a mistake, but, from the docs: indexToItemRenderer () method public function indexToItemRenderer(index:int

RE: [flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-04-28 Thread Gordon Smith
Can you please explain your use case for needing a reference to an item renderer? As Tracy said, You are probably making a mistake. Item renderers are intended to render data items, not to be manipulated directly as visual components. Gordon Smith Adobe Flex SDK Team