Skip to content

Commit 7ba2dd2

Browse files
MKirovaMKirova
authored andcommitted
Clear old columns from view when data has changed.
1 parent cd7687f commit 7ba2dd2

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)