Skip to content

Commit

Permalink
Merge pull request #5038 from IgniteUI/nrobakova/fix-issue-4902-7.2.x
Browse files Browse the repository at this point in the history
Remove refreshSearch form the escape_editMode method
  • Loading branch information
kdinev authored Jun 13, 2019
2 parents 8e1524e + 2a5b232 commit 022a234
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion projects/igniteui-angular/src/lib/grids/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export class GridBaseAPIService <T extends IgxGridBaseComponent & IGridDataBinda
// TODO: Refactor
public escape_editMode() {
this.grid.crudService.end();
this.grid.refreshSearch();
}

// TODO: Refactor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4726,10 +4726,7 @@ export abstract class IgxGridBaseComponent extends DisplayDensityBase implements
return 0;
}

const editModeCell = this.crudService.cell;
if (editModeCell) {
this.endEdit(false);
}
this.endEdit(false);

if (!text) {
this.clearSearch();
Expand Down

0 comments on commit 022a234

Please sign in to comment.