File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export class IgxGridMRLNavigationService extends IgxGridNavigationService {
8585
8686 public isColumnFullyVisible ( visibleColIndex : number ) : boolean {
8787 const targetCol = this . grid . getColumnByVisibleIndex ( visibleColIndex ) ;
88- if ( this . isParentColumnFullyVisible ( targetCol . parent ) || super . isColumnPinned ( visibleColIndex , this . forOfDir ( ) ) ) { return true ; }
88+ if ( this . isParentColumnFullyVisible ( targetCol ? .parent ) || super . isColumnPinned ( visibleColIndex , this . forOfDir ( ) ) ) { return true ; }
8989
9090 const scrollPos = this . getChildColumnScrollPositions ( visibleColIndex ) ;
9191 const colWidth = scrollPos . rightScroll - scrollPos . leftScroll ;
@@ -95,7 +95,7 @@ export class IgxGridMRLNavigationService extends IgxGridNavigationService {
9595 }
9696
9797 private isParentColumnFullyVisible ( parent : IgxColumnComponent ) : boolean {
98- if ( ! this . forOfDir ( ) . getScroll ( ) . clientWidth || parent . pinned ) { return true ; }
98+ if ( ! this . forOfDir ( ) . getScroll ( ) . clientWidth || parent ? .pinned ) { return true ; }
9999
100100 const index = this . forOfDir ( ) . igxForOf . indexOf ( parent ) ;
101101 return this . displayContainerWidth >= this . forOfDir ( ) . getColumnScrollLeft ( index + 1 ) - this . displayContainerScrollLeft &&
You can’t perform that action at this time.
0 commit comments