Skip to content

Commit e224f71

Browse files
authored
Merge pull request #9365 from IgniteUI/mdragnev/fix-9330
fix(*): Correct isPinningToStart getter condition
2 parents 7353e0b + e751528 commit e224f71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5153,7 +5153,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
51535153
sum += parseInt(col.calcWidth, 10);
51545154
}
51555155
}
5156-
if (this.pinning.columns === ColumnPinningPosition.Start) {
5156+
if (this.isPinningToStart) {
51575157
sum += this.featureColumnsWidth();
51585158
}
51595159

@@ -6512,7 +6512,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
65126512
if (this.hasVerticalScroll() && !this.isPercentWidth) {
65136513
width -= this.scrollSize;
65146514
}
6515-
if (this.pinning.columns === ColumnPinningPosition.End) {
6515+
if (!this.isPinningToStart) {
65166516
width -= this.featureColumnsWidth();
65176517
}
65186518

0 commit comments

Comments
 (0)