, 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
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
...@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
: 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
...@...
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
..
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
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
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
sorry that should have been owner.dispatchEvent()
9 matches
Mail list logo