PDA

View Full Version : Group By Creates Duplicate Groups



ccocco_dw
2 Mar 2011, 4:46 AM
There seems to be a bug in the GroupingView.doRender() method that causes duplicate groups to be created by the Group By option using with a Grid. If grouping by column X, where rows 1-3 contain the values abc, xyz, and abc respectively for column X (2 of the rows have the same value for column X but are not one after another row-wise), duplicate groups are created by the following code below. This is due to the fact that if the group in question is not the same as curGroup, another group is automatically created even though it may have been created 2 groups ago.

ccocco_dw
2 Mar 2011, 5:01 AM
24942