Skip to content

Commit b3818fd

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Move func in group.
1 parent 77e078d commit b3818fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row-header-group.component.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,11 @@ export class IgxPivotRowHeaderGroupComponent extends IgxGridHeaderGroupComponent
157157
public override get selectable(): boolean {
158158
return false;
159159
}
160+
161+
protected getHeaderWidthFromDimension() {
162+
if (this.grid.hasHorizontalLayout) {
163+
return this.dimWidth === -1 ? 'fit-content' : this.width;
164+
}
165+
return this.grid.rowDimensionWidth(this.parent.rootDimension);
166+
}
160167
}

0 commit comments

Comments
 (0)