--- In flexcoders@yahoogroups.com, "Rajesh Jayabalan" <[EMAIL PROTECTED]> wrote: > Has anyone dispatched an event from cell renderer? > > anyone any ideas on how to proceed. > > Regards > Rajesh J
yes. in my checkbox cellrenderer after creating the checkbox i added an event listener for click eg function createChildren() { // check is a variable check = createClassObject(CheckBox, "check", 1, {styleName:this, owner:this}); check.addEventListener("click", this); ... } then in the click event i add an eventlistener which i can dispatch to the parentDocument..... i.e. the form which the datagrid sits on eg function click(){ ... this.addEventListener("myEvent", this.parentDocument); this.dispatchEvent({type:"myEvent"}); ... } you can add the eventlistener to the listOwner/parent (the datagrid, list) if you wanted to ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h7u8uj5/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123248083/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/