|
Thanks Omar. From:
You would have to register manualy using addEventListener. You could do
this on your tag <mx:DataGrid
id="grd" load="grd.addEventListner("MyEvent",MyMethod);"
.. />
On 9/16/05, Allen
Manning <[EMAIL PROTECTED]>
wrote: Omar, Thanks for the reply. Would I need to register that event with my
list, won't the complier complain of I do this: <mx:DataGrid MyEvent="do something"
.. /> Or do I need to add the event listener
programmatically? Thanks, Allen From: [email protected]
[mailto:
[email protected]] On Behalf Of Omar
Ramos Hi Allen, I usualy
do what you say on my cell renders. What I usualy do is dispatch the event tru
your list controll, in your case the dataGrid. Remember on the cell render you
have a reference of the list which is the variable listOwner. So you could do
this
listOwner.dispatchEvent({type:"MyEvent",data:"MyData"});
Hope it helps! Omar
Ramos System
Developer On
9/16/05, Allen Manning < [EMAIL PROTECTED]>
wrote: Hello, I
want to dispatch and event from a cell renderer and call it in the view which
has the parent datagrid. Any advice on how to do this? I don't need
code, just a brief explanation would do. J Many
thanks, Allen
SPONSORED LINKS
YAHOO! GROUPS
LINKS
--
YAHOO!
GROUPS LINKS
-- -- -- -- |
- RE: [flexcoders] Capturing Events from Cell Renderers Allen Manning
- Re: [flexcoders] Capturing Events from Cell Renderers Omar Ramos
- RE: [flexcoders] Capturing Events from Cell Rendere... Allen Manning

