Skip to content

Commit 67a0299

Browse files
committed
fix(grid): end grid edit on advanced filtering clear/apply #7343
1 parent fc93bdb commit 67a0299

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects/igniteui-angular/src/lib/grids/filtering/advanced-filtering/advanced-filtering-dialog.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,7 @@ export class IgxAdvancedFilteringDialogComponent implements AfterViewInit, OnDes
814814
this.cancelOperandEdit();
815815
this.currentGroup = null;
816816
this.rootGroup = null;
817+
this.grid.endEdit(false);
817818
this.grid.advancedFilteringExpressionsTree = null;
818819
}
819820

@@ -824,6 +825,7 @@ export class IgxAdvancedFilteringDialogComponent implements AfterViewInit, OnDes
824825
}
825826

826827
public applyChanges() {
828+
this.grid.endEdit(false);
827829
this.exitOperandEdit();
828830
this.grid.advancedFilteringExpressionsTree = this.createExpressionsTreeFromGroupItem(this.rootGroup);
829831
}

0 commit comments

Comments
 (0)