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.
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.