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 0c9fbd0 commit eb22651Copy full SHA for eb22651
projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts
@@ -487,7 +487,9 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
487
const allDimensions = config.rows.concat(config.columns).concat(config.filters).filter(x => x !== null && x !== undefined);
488
const enabledDimensions = allDimensions.filter(x => x && x.enabled);
489
const dim = PivotUtil.flatten(enabledDimensions).find(x => x.memberName === column.field);
490
- this.getDimensionData(dim, exprTree, uniqueValues => done(uniqueValues));
+ if (dim) {
491
+ this.getDimensionData(dim, exprTree, uniqueValues => done(uniqueValues));
492
+ }
493
}
494
495
public getDimensionData(dim: IPivotDimension,
0 commit comments