[flexcoders] Re: Getting a DataGrid item renderer instance

2006-06-19 Thread flex8it
More specifically, here's what I'm trying to change the viewState in 
my itemRenderer when the DataGrid's textfield is edited. But in 
order to do that, I need to somehow get an instance reference to my 
renderer component. And nothing I've done seems to work...


http://www.adobe.com/2006/mxml"; 
xmlns:comp="components.*" 
verticalAlign="top" horizontalAlign="center" 
layout="absolute">










 

I'd sure appreciate some help on this conundrum.

Many Thanks,
Bruce

--- In flexcoders@yahoogroups.com, "flex8it" <[EMAIL PROTECTED]> wrote:
>
> I have simple datagrid with 2 columns and 2 rows like this:
> 
> column 0 column 1
>  -
> imagetextfield
> imagetextfield
> 
> Column 0 contains my ImageRenderer component.
> Column 1 contains the DataGrid's default item renderer and editor: 
> text, textfield.
> 
> First Problem:
> How do I identify/get a reference to a particular instance of my 
> ImageRenderer from, say, column[0], row[1]?
> 
> Second (related) Problem:
> How do I get the ImageRender instance that corresponds to the row 
of 
> the textfield that fires an event when edited?
> 
> I've been wrestling with this problem for days now, and I just 
can't 
> seem to get a grasp on the communication/eventing infrastructure 
> that's probably necessary to pull this off. Please help.
> 
> Thanks,
> Bruce
>







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





[flexcoders] Getting a DataGrid item renderer instance

2006-06-19 Thread flex8it
I have simple datagrid with 2 columns and 2 rows like this:

column 0   column 1
   -
image  textfield
image  textfield

Column 0 contains my ImageRenderer component.
Column 1 contains the DataGrid's default item renderer and editor: 
text, textfield.

First Problem:
How do I identify/get a reference to a particular instance of my 
ImageRenderer from, say, column[0], row[1]?

Second (related) Problem:
How do I get the ImageRender instance that corresponds to the row of 
the textfield that fires an event when edited?

I've been wrestling with this problem for days now, and I just can't 
seem to get a grasp on the communication/eventing infrastructure 
that's probably necessary to pull this off. Please help.

Thanks,
Bruce 






 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/