When a user is editing the last possible cell in a row jumping via tab to the next editable will result in an error message "cannot read property 'focus' of null".
https://stackblitz.com/edit/angular-dz8ewu
Cannot read property 'focus' of null
TypeError: Cannot read property 'focus' of null
at IgxGridNavigationService.push../node_modules/igniteui-angular/fesm5/igniteui-angular.js.IgxGridNavigationService.focusEditableTarget (igniteui-angular.js:57988)
at IgxGridNavigationService.push../node_modules/igniteui-angular/fesm5/igniteui-angular.js.IgxGridNavigationService.moveNextEditable (igniteui-angular.js:57974)
at IgxGridNavigationService.push../node_modules/igniteui-angular/fesm5/igniteui-angular.js.IgxGridNavigationService.performTab (igniteui-angular.js:58414)
at IgxGridCellComponent.push../node_modules/igniteui-angular/fesm5/igniteui-angular.js.IgxGridCellComponent.handleTab (igniteui-angular.js:49260)
at IgxGridCellComponent.push../node_modules/igniteui-angular/fesm5/igniteui-angular.js.IgxGridCellComponent.dispatchEvent (igniteui-angular.js:49368)
at Object.eval [as handleEvent] (IgxGridRowComponent.html:42)
at handleEvent (core.js:29238)
at callWithDebugContext (core.js:30308)
at Object.debugHandleEvent [as handleEvent] (core.js:30035)
at dispatchEvent (core.js:19858)
No exception should be thrown. Navigate to either next editable on the next row or stay at the current row.
Hello @RolandTa , In the sample that you've linked above you are enabled row editing and also you've defined a custom row edit template which is empty. When a row is in edit mode keyboard navigation behave as is described in our official documentation. In the linked Pull Request I only remove the error that is thrown and if you need to define any custom behavior you can use onGridKeydown event to add any custom logic that will fulfill your use case. Check this sample
Most helpful comment
Hello @RolandTa , In the sample that you've linked above you are enabled row editing and also you've defined a custom row edit template which is empty. When a row is in edit mode keyboard navigation behave as is described in our official documentation. In the linked Pull Request I only remove the error that is thrown and if you need to define any custom behavior you can use onGridKeydown event to add any custom logic that will fulfill your use case. Check this sample