Skip to content

Commit fbddf69

Browse files
authored
Merge pull request #4969 from IgniteUI/bpenkov/fix-4950
Clear crudSession.row when grid.rowEditable is false
2 parents d403c0f + 11aac33 commit fbddf69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/igniteui-angular/src/lib/core/grid-selection.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ export class IgxGridCRUDService {
181181
this.beginRowEdit();
182182
return;
183183
}
184+
} else {
185+
this.endRowEdit();
184186
}
185187
}
186188

0 commit comments

Comments
 (0)