View Full Version : grid grouping event groupdblclick not working in 4.2.x but worked in 4.1.1

Scott Mildenberger
1 Apr 2014, 10:46 AM
I have an application where I have a listener on event 'groupdblclick' on a grid with grouping. On 4.1.1 this displayed a form when you double-clicked on the grouping header. Now on 4.2.x it doesn't happen. I put a console.log() inside the listener and on 4.1.1 I see the message in the console but on 4.2.x I do not.

I have created a fiddle https://fiddle.sencha.com/#fiddle/4mb where you can see the difference by changing which framework it runs under.

The code for the listener is:

TranGrid.on("groupdblclick", function(view, node, group, e, eOpts) {
getRec('edit', group);
console.log('in groupdblclick')

Any ideas anyone?


Scott Mildenberger
1 Apr 2014, 12:20 PM
I have done some more testing and I think what is happening is that in 4.1.1 multiple events would fire when a double click happened: either groupexpand or groupcollapse would fire (depending on the state) - and 'groupdblclick' would also fire. Now it appears that on 4.2.x only the 'groupexpand' or 'groupcollapse' fires and not 'groupdblclick'.

This appears to be changed behavior.

How do I get 'groupdblclick' to fire on the group header?

Scott Mildenberger
1 Apr 2014, 12:29 PM
I did some different searches on the forums and found that this is a reported bug EXTJSIV-11707.

Gary Schlosberg
1 Apr 2014, 2:54 PM
Thanks for the update. Here's the link to that bug thread: