Flex 4: DataGrid doesn't intercept event dispatched from custom itemRender -


i'm trying intercept event dispatched custom renderer in way:

this.owner.dispatchevent(new resultevent("eventname",true,false,parameter)); 

here grid:

<mx:datagrid id="calendargrid">         <mx:columns>           <mx:datagridcolumn headertext="header"                              id="h"                              sortable="false"                              itemrenderer="myrenderer"/>         </mx:columns> </mx:datagrid> 

and here how add eventlistener grid:

calendargrid.addeventlistener("eventname", handlerfunction); 

handlerfunction never called. please help...

sorry fault... addeventlistener in creationcomplete function wich (i don't know why) never fires. works!

sorry fault... addeventlistener in creationcomplete function wich (i don't know why) never fires. works!


Comments

Popular posts from this blog

razor - Is this a bug in WebMatrix PageData? -

iphone - Requiring the presence of a method in an id -

xslt - Is it possible to select a node that just includes a subset of the child nodes? -