Skip to content

Commit 0e6c2f7

Browse files
MKirovaMKirova
authored andcommitted
Merge branch 'rkaraivanov/grids-restructure' of https://github.com/IgniteUI/igniteui-angular.git
2 parents 635b19f + 1c8b3b2 commit 0e6c2f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

projects/igniteui-angular/src/lib/grids/columns/column-group.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ export class IgxColumnGroupComponent extends IgxColumnComponent implements After
163163
if (this.headTemplate && this.headTemplate.length) {
164164
this._headerTemplate = this.headTemplate.toArray()[0].template;
165165
}
166+
// currently only ivy fixes the issue, we have to slice only if the first child is group
167+
if (this.children.first.columnGroup) {
168+
this.children.reset(this.children.toArray().slice(1));
169+
}
166170
this.children.forEach(child => {
167171
child.parent = this;
168172
});

0 commit comments

Comments
 (0)