Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -525,28 +525,26 @@ export class IgxGridCRUDService extends IgxRowAddCrudState {
this.grid.tbody.nativeElement.focus();
}
} else {

this.createCell(cell);
if (this.rowEditing) {
// TODO rowData
if (this.row && !this.sameRow(this.cell?.id?.rowID)) {
if (this.row && !this.sameRow(cell?.cellID?.rowID)) {
this.rowEditingBlocked = this.endEdit(true, event);
if (this.rowEditingBlocked) {
return true;
}

// If enters here, @endEdit clears the new reference of the cell edit.
this.createCell(cell);
this.rowEditingBlocked = false;
this.endRowEdit();
}
this.createCell(cell);

const canceled = this.beginRowEdit(event);
if (!canceled) {
this.beginCellEdit(event);
}

} else {
this.createCell(cell);
this.beginCellEdit(event);
}
}
Expand Down