File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
projects/igniteui-angular/src/lib/query-builder Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1117,6 +1117,7 @@ export class IgxQueryBuilderComponent extends DisplayDensityBase implements Afte
11171117 if ( ! expressionItem . parent ) {
11181118 this . rootGroup = null ;
11191119 this . currentGroup = null ;
1120+ this . _expressionTree = null ;
11201121 return ;
11211122 }
11221123
@@ -1127,10 +1128,13 @@ export class IgxQueryBuilderComponent extends DisplayDensityBase implements Afte
11271128 const children = expressionItem . parent . children ;
11281129 const index = children . indexOf ( expressionItem ) ;
11291130 children . splice ( index , 1 ) ;
1131+ this . _expressionTree = this . createExpressionTreeFromGroupItem ( this . rootGroup ) ;
11301132
11311133 if ( ! children . length ) {
11321134 this . deleteItem ( expressionItem . parent ) ;
11331135 }
1136+
1137+ this . expressionTreeChange . emit ( ) ;
11341138 }
11351139
11361140 private createGroup ( operator : FilteringLogic ) {
You can’t perform that action at this time.
0 commit comments