Skip to content

Commit 3365141

Browse files
authored
Merge pull request #9366 from IgniteUI/mdragnev/fix-9330-11.1.x
fix(*): Correct isPinningToStart getter condition
2 parents 8bbb4c9 + 30c8423 commit 3365141

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
@@ -5185,7 +5185,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
51855185
sum += parseInt(col.calcWidth, 10);
51865186
}
51875187
}
5188-
if (this.pinning.columns === ColumnPinningPosition.Start) {
5188+
if (this.isPinningToStart) {
51895189
sum += this.featureColumnsWidth();
51905190
}
51915191

@@ -6679,7 +6679,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
66796679
if (this.hasVerticalScroll() && !this.isPercentWidth) {
66806680
width -= this.scrollSize;
66816681
}
6682-
if (this.pinning.columns === ColumnPinningPosition.End) {
6682+
if (!this.isPinningToStart) {
66836683
width -= this.featureColumnsWidth();
66846684
}
66856685

0 commit comments

Comments
 (0)