[flexcoders] Re: flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue
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/
[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; 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, bhaq1972 [EMAIL PROTECTED] 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/
RE: [flexcoders] Re: flex2 final - datagrid sortableColumns=false and itemDoubleClick event issue
Whats 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 itd 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 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 [EMAIL PROTECTED]ups.com, bhaq1972 [EMAIL PROTECTED] 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 Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___