Skip to content

Commit

Permalink
bug fix in building of grouping header
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegKi committed Feb 5, 2015
1 parent 134be23 commit 59d03ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/grid.pivot.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jgrid.extend({
if(value == null) {
label = $.trim(aggr[i].member)+"_"+aggr[i].aggregator;
vl = label;
swapvals[0]= vl;
swapvals[j]= vl;
} else {
vl = value[j].replace(/\s+/g, '');
try {
Expand Down Expand Up @@ -372,7 +372,7 @@ jgrid.extend({
for( l in items.fields) {
if (items.fields.hasOwnProperty(l)) {
if(ll===1) {
headers[ylen-1].groupHeaders.push({startColumnName: l, numberOfColumns: 1, titleText: items.text});
headers[ylen-1].groupHeaders.push({startColumnName: l, numberOfColumns: 1, titleText: items.label});
}
ll++;
}
Expand Down

0 comments on commit 59d03ce

Please sign in to comment.