PDA

View Full Version : [FIXED-433][3.1.1-beta] Cannot collapse row when grouping by field with GroupingView



323066
15 Jan 2010, 12:22 AM
Hello.
We are moving to 3.1 version.
Grouping in our grids stop working.
In code we subscribe on "beforeload" store event and there collapse all grid rows.
But function grid.view.getRow(rowIndex) throws exception in this part of code.
Due to my investigations this is because of changes in "onGroupByClick" function of GroupingView class.

Following line was added :
this.enableGrouping = true;
this.grid.store.groupBy(this.cm.getDataIndex(this.hdCtxIndex));
this.beforeMenuShow();
this.refresh();

And function "getRow" tries to get node from groups that still do not exist (as I understand).

Please help or suggest some workaround.

Jamie Avins
15 Jan 2010, 10:11 AM
By chance could you post a working example. This would go a long way toward finding you a solution.

hendricd
16 Jan 2010, 7:26 AM
Fixed in SVN 5900 for Ext 3.1.1beta.