File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2159,7 +2159,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
21592159 * @internal
21602160 */
21612161 public get isPinningToStart ( ) {
2162- return this . pinning . columns && this . pinning . columns !== ColumnPinningPosition . End ;
2162+ return this . pinning . columns !== ColumnPinningPosition . End ;
21632163 }
21642164
21652165 /**
@@ -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
You can’t perform that action at this time.
0 commit comments