Skip to content

Commit 3a72704

Browse files
authored
Merge pull request #13613 from IgniteUI/mkirova/fix-empty-pivot
fix(igxPivotGrid): Add check in case data is empty due to removing al…
2 parents a622b85 + 5f85312 commit 3a72704

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-row-dimension-content.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class IgxPivotRowDimensionContentComponent extends IgxGridHeaderRowCompon
151151

152152
protected extractFromDimension(dim: IPivotDimension, rowData: IPivotGridGroupRecord) {
153153
const field = dim.memberName;
154-
const header = rowData.dimensionValues.get(field);
154+
const header = rowData?.dimensionValues.get(field);
155155
const col = this._createColComponent(field, header, dim);
156156
return col;
157157
}

0 commit comments

Comments
 (0)