Skip to content

Commit c1f63f8

Browse files
authored
Merge pull request #11405 from IgniteUI/mdragnev/fix-11394
fix(pivot): Regenerate columns when changing data in pivot
2 parents 532f291 + ff9d93c commit c1f63f8

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
984984
@Input()
985985
public set data(value: any[] | null) {
986986
this._data = value || [];
987-
if (this.shouldGenerate) {
987+
if (!this._init) {
988988
this.setupColumns();
989989
this.reflow();
990990
}

0 commit comments

Comments
 (0)