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 aa170fb commit f9951f0Copy full SHA for f9951f0
projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts
@@ -243,7 +243,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
243
const factoryColumnGroup = this.resolver.resolveComponentFactory(IgxColumnGroupComponent);
244
let columns = [];
245
fields.forEach((value, key) => {
246
- if (value.children == null) {
+ if (value.children == null || value.children.size === 0) {
247
const ref = factoryColumn.create(this.viewRef.injector);
248
ref.instance.header = key;
249
ref.instance.field = key;
0 commit comments