Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-26 Thread Angelo Anolin
, 2010 8:30:29 Subject: [flexcoders] Re: Method for a Datagrid Button Itemrenderer Hi Angelo, You're close. You'll need to declare the event in the DataGrid. A simple subclass should do the trick. This way you can add the event listener in mxml too: package myPackage { import

[flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread fusionpage
I typically use code like this to call a method in the parent MXML page that contains the dataGrid... mx:AdvancedDataGridColumn width=80 headerText=Launch dataField=contentURL mx:itemRenderer

Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread Angelo Anolin
...@yahoo.com To: flexcoders@yahoogroups.com Sent: Tue, 17 August, 2010 8:29:11 Subject: [flexcoders] Re: Method for a Datagrid Button Itemrenderer I typically use code like this to call a method in the parent MXML page that contains the dataGrid... mx:AdvancedDataGridColumn width=80 headerText

Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread Angelo Anolin
: fusionpage fusionp...@yahoo.com To: flexcoders@yahoogroups.com Sent: Tue, 17 August, 2010 8:29:11 Subject: [flexcoders] Re: Method for a Datagrid Button Itemrenderer I typically use code like this to call a method in the parent MXML page that contains the dataGrid... mx:AdvancedDataGridColumn width

[flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread turbo_vb
...@... To: flexcoders@yahoogroups.com Sent: Tue, 17 August, 2010 8:34:07 Subject: Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer Hi Don, Thanks for the reply. I do am able to do the same using an in-line itemrenderer. But right now, my itemrenderer is an external AS file

Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread Angelo Anolin
.. From: Angelo Anolin angelo_ano...@... To: flexcoders@yahoogroups.com Sent: Tue, 17 August, 2010 8:34:07 Subject: Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer Hi Don, Thanks for the reply. I do am able to do the same using an in-line itemrenderer. But right now

[flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread turbo_vb
and ideas appreciated. Thanks.. From: Angelo Anolin angelo_anolin@ To: flexcoders@yahoogroups.com Sent: Tue, 17 August, 2010 8:34:07 Subject: Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer Hi Don, Thanks for the reply

Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread Wesley Acheson
in my datagrid, i have declared creationComplete=myDataGrid_CreationComplete() In my itemrenderer, I have placed a code : override protected function clickHandler(event:MouseEvent) :void { dispatchEvent(new Event('myTest', true)); } try override protected function

Re: [flexcoders] Re: Method for a Datagrid Button Itemrenderer

2010-08-17 Thread Wesley Acheson
sorry that should have been owner.dispatchEvent()