Chad,

When you dispatch the event, just be sure to set bubbles = true.

Then the event will bubble up through the dataGrid to the component
container. A couple of things on this, you will to be sure to notice
the difference between event.target and event.currentTarget.

They will be the renderer and the dataGrid. Make sure you are looking
at the right one for data.

--Mike

--- In [email protected], "Chad Callahan" <[EMAIL PROTECTED]> 
wrote:
>
> 
> I have an Icon in an ItemRenderer in my DataGrid that acts as a
button.  Rather than having this button call a function, I would like
to have it dispatch a Click event.  I can't figure out how to listen
for events from an ItemRenderer in the Component that is the owner of
the DataGrid.  Has anyone done this?
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcomponents/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcomponents/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 

Reply via email to