Hi,

If you click inside the dataGrid tag and press the space bar, you will
see a list of code hinting properties and events, that are available
to the control.  To dispatch an onclick event, you should have
something like click="dispatchEvent(event);" or click="runMyFunction
();" inside of the dataGrid tag.  "runMyFunction();" would be a
function that you created.  To listen for events, I'll refer you to
the help docs.  There a couple of ways to do it, so look for
addEventListeners, dispatchEvent and metaData.

Later,
Tim Hoff


--- In flexcoders@yahoogroups.com, Webdevotion <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I want to dispatch an onclick event from a datagrid inside
Providers.mxml (
> = component ).
> My main mxml should listen to this event, it has the mx:methods tag.
>
> How do I do this ?
>
> I know about Arp and Cairngorm, but I am just getting into Flex, so
first
> thing first for me.
>
> tnx ; )
>






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




Reply via email to