Skip to content

Commit a0b540d

Browse files
MKirovaMKirova
authored andcommitted
Minor fix for newly added summary column.
1 parent 3897d4b commit a0b540d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
10801080
path.push(val);
10811081
let h = currentHierarchy.get(path.join(separator));
10821082
if (!h) {
1083-
currentHierarchy.set(path.join(separator), { expandable: true, children: new Map<string, any>(), dimension: this.values[0] });
1083+
currentHierarchy.set(path.join(separator), { expandable: true, children: new Map<string, any>(), dimension: this.columnDimensions[0] });
10841084
h = currentHierarchy.get(path.join(separator));
10851085
}
10861086
currentHierarchy = h.children;

0 commit comments

Comments
 (0)