When transactions are enabled and update a filtered cell there is an error in console #4214
Labels
batch-editing
🐛 bug
Any issue that describes a bug
🧨 severity: medium
grid: cell-editing
grid: general
version: 7.2.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When transactions are enabled and update a filtered cell there is an error in console
Steps to reproduce
Result
An error in console is previewed:
IgxTreeGridRowComponent.html:19 ERROR Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges
at viewDestroyedError (core.js:20354)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:23810)
at checkAndUpdateView (core.js:23209)
at callWithDebugContext (core.js:24079)
at Object.debugCheckAndUpdateView [as checkAndUpdateView] (core.js:23781)
at ViewRef_.push../node_modules/@angular/core/fesm5/core.js.ViewRef_.detectChanges (core.js:21590)
at IgxGridCellComponent.set [as inEditMode] (cell.component.ts:295)
at IgxGridCellComponent.push../projects/igniteui-angular/src/lib/grids/cell.component.ts.IgxGridCellComponent.onKeydownEnterEditMode (cell.component.ts:845)
at IgxGridCellComponent.push../projects/igniteui-angular/src/lib/grids/cell.component.ts.IgxGridCellComponent.dispatchEvent (cell.component.ts:820)
Expected result
There should be no errors
Attachments
Attach a sample if available, and screenshots, if applicable.
The text was updated successfully, but these errors were encountered: