hi Matt i did a trace on the event for the example below ie <mx:DataGrid itemDoubleClick="trace(event)" >
i got the following [Event type="itemDoubleClick" bubbles=false cancelable=false eventPhase=2] thanks bod --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > What's the information contained in the event when you get the > itemDoubleClicked? I can forward this in as a potential bug, but if you > have that info it'd be helpful. > > > > Matt > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Tuesday, August 15, 2006 3:04 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: flex2 final - datagrid sortableColumns=false > and itemDoubleClick event issue > > > > Anyone from Adobe please comment? > > here's a little test example. All you need to do is change the dg > attribute sortableColumns=false | true. > > and double click the header. i believe the itemDoubleClick event > should not be triggered when sortableColumns=false > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> "> > > <mx:DataGrid doubleClickEnabled="true" > itemDoubleClick="mx.controls.Alert.show('item double clicked')" > sortableColumns="false"> > <mx:dataProvider> > <mx:Array> > <mx:Object Company="a" Contact="1"/> > <mx:Object Company="b" Contact="2"/> > <mx:Object Company="c" Contact="3"/> > </mx:Array> > </mx:dataProvider> > <mx:columns> > <mx:DataGridColumn dataField="Company" /> > <mx:DataGridColumn dataField="Contact" /> > </mx:columns> > </mx:DataGrid> > </mx:Application> > > --- In flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > , "bhaq1972" <mbhaque@> wrote: > > > > i have a datagrid with the following attributes. > > > > <mx:DataGrid doubleClickEnabled="true" sortableColumns="false" > > itemDoubleClick="mx.controls.Alert.show('item double clicked')"> > > > > i'm finding that if i doubleClick the header, i'm getting the > > itemDoubleClick evnt being trigged. > > > > > > is this the correct behaviour. > > > > (i'd assume not) > > > > please verify > > > > > > regards > > bod > > > -- 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/