Skip to content

Commit 3be8716

Browse files
authored
Merge pull request #13614 from IgniteUI/mkirova/fix-empty-pivot-16.1.x
fix(igxPivotGrid): Add check in case data is empty due to removing al…
2 parents d33f5c0 + 36bd5db commit 3be8716

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)