We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c839f15 commit b16fd73Copy full SHA for b16fd73
projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row.component.ts
@@ -99,7 +99,7 @@ export class IgxPivotRowComponent extends IgxRowDirective<IgxPivotGridComponent>
99
*/
100
public ngOnChanges(changes: SimpleChanges) {
101
const rowDimConfig = this.grid.rowDimensions;
102
- if (changes.rowData) {
+ if (changes.rowData || rowDimConfig.length !== this.rowDimensionData.length) {
103
// generate new rowDimension on row data change
104
this.rowDimensionData = [];
105
this.viewRef.clear();
src/app/pivot-grid/pivot-grid.sample.ts
@@ -27,7 +27,7 @@ export class PivotGridSampleComponent {
27
{
28
memberName: 'Country',
29
enabled: true,
30
- width: '500px'
+ width: '300px'
31
}
32
]
33
,
0 commit comments