Commit ea00035c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix an ExtJS 4.2.1 bug (row selection in grid with grouping feature).

parent a2d3c35f
......@@ -338,6 +338,13 @@
gridLog.on('itemcontextmenu', function(view, record, item, index, event) {
event.stopEvent();
// FIX EXT JS 4.2.1
// In that version the selection of the row is wrong when the grouping
// feature is activated. It has been corrected in 4.2.2.
// The next line fixes this bug.
// (from www.sencha.com/forum/showthread.php?264961-Grid-Grouping-Bug)
view.getSelectionModel().select(view.dataSource.data.get(item.getAttribute('data-recordid')));
menu.showAt(event.getXY());
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment