Here is an example of a DoubleClickTree should be pretty easy to convert over to a DataGrid:
[Event("doubleClick")] class com.mason.core.components.DoubleClickTree extends mx.controls.Tree { var lastClick = 0; var dbLastSelected:Object; var dClick = false; // Required for Delegate. import mx.utils.Delegate; function DoubleClickTree() { addEventListener("change",_doubleClick); } function _doubleClick( event ) { checkDblClick( this.selectedNode ); if( this.getIsBranch( this.selectedNode ) && dClick ) { this.setIsOpen( this.selectedNode, (( this.getIsOpen( this.selectedNode ) ) ? false : true), true, true); } if( !this.getIsBranch( this.selectedNode ) && dClick ) { dispatchEvent({ type: "doubleClick" }); } } private function checkDblClick(s) { var clickTime = getTimer(); dClick = ((clickTime-lastClick<300) && (dbLastSelected == s)); lastClick = clickTime; dbLastSelected = s; } } --- In flexcoders@yahoogroups.com, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > i'm not find documentation about "double click cell press" event into > DataGrid? > It's possibile please. > Thank you in advance. > Devis 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/