Skip to content

Commit 1909824

Browse files
committed
fix(grid): remove crudService endEdit invocation
1 parent a507930 commit 1909824

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/grids/grid-navigation.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,8 @@ export class IgxGridNavigationService {
527527
protected handleEditing(shift: boolean, event: KeyboardEvent) {
528528
const next = shift ? this.grid.getPreviousCell(this.activeNode.row, this.activeNode.column, col => col.editable) :
529529
this.grid.getNextCell(this.activeNode.row, this.activeNode.column, col => col.editable);
530-
if (!this.grid.crudService.rowInEditMode && this.isActiveNode(next.rowIndex, next.visibleColumnIndex)) {
531-
this.grid.crudService.endEdit(true, event);
530+
if (!this.grid.rowInEditMode && this.isActiveNode(next.rowIndex, next.visibleColumnIndex)) {
531+
this.grid.endEdit(true, event);
532532
this.grid.tbody.nativeElement.focus();
533533
return;
534534
}

0 commit comments

Comments
 (0)