File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5642,7 +5642,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
56425642 }
56435643
56445644 /**
5645- * Navigates to a posution in the grid based on provided `rowindex` and `visibleColumnIndex`.
5645+ * Navigates to a position in the grid based on provided `rowindex` and `visibleColumnIndex`.
56465646 * @remarks
56475647 * Also can execute a custom logic over the target element,
56485648 * through a callback function that accepts { targetType: GridKeydownTargetType, target: Object }
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ export class IgxGridNavigationService {
301301 }
302302
303303 public shouldPerformHorizontalScroll ( visibleColIndex : number , rowIndex = - 1 ) {
304- if ( visibleColIndex < 0 || visibleColIndex > this . grid . columnList . length - 1 ) { return false ; }
304+ if ( visibleColIndex < 0 || visibleColIndex > this . grid . visibleColumns . length - 1 ) { return false ; }
305305 if ( rowIndex < 0 || rowIndex > this . grid . dataView . length - 1 ) {
306306 return ! this . isColumnFullyVisible ( visibleColIndex ) ;
307307 }
You can’t perform that action at this time.
0 commit comments