Skip to content

Commit 56f912a

Browse files
authored
Merge pull request #10502 from IgniteUI/mkirova/clear-old-columns
Clear old columns from view when data has changed.
2 parents c015184 + 7ba2dd2 commit 56f912a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export class IgxPivotRowComponent extends IgxRowDirective<IgxPivotGridComponent>
8888
// generate new rowDimension on row data change
8989
this.rowDimensionData = [];
9090
const rowDimConfig = this.grid.rowDimensions;
91+
this.viewRef.clear();
9192
this.extractFromDimensions(rowDimConfig, 0);
9293
}
9394
}

0 commit comments

Comments
 (0)