PDA

View Full Version : [CLOSED] Ext.grid.feature.Grouping groupdblclick



camilomontoya
12 Nov 2013, 1:46 PM
I couldn't use the groupdblclick (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.grid.feature.Grouping-event-groupdblclick) event from Ext.grid.feature.Grouping is there someone who can help me how can I use it?
Tks!!
:((

scottmartin
14 Nov 2013, 7:44 AM
In review the code, it seems that only onGroupClick is active. (place listener on grid for groupClick) for when toggling the state of the group (collapsed)

Will this work for you?

camilomontoya
14 Nov 2013, 7:52 AM
I need it for showing a panel, not for collapsing settings

scottmartin
14 Nov 2013, 8:51 AM
Thanks for the report! I have opened a bug in our bug tracker.

You could just use a menu for now?



menuContext = new Ext.menu.Menu({
items: [{
text: 'Do something'
}],
listeners: {
itemclick: function(item) {
// handle click
}
}
});




listeners: {
groupcontextmenu: function(view, node, group, e, eOpts) {
e.stopEvent();
menuContext.showAt(e.getXY());

}
}