File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,15 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent {
5050 public rowRemoved ( event : IBaseChipEventArgs ) {
5151 const row = this . grid . pivotConfiguration . rows . find ( x => x . fieldName === event . owner . id ) ;
5252 row . enabled = false ;
53+ this . grid . filteringService . clearFilter ( row . fieldName ) ;
5354 this . grid . pipeTrigger ++ ;
5455 }
5556
5657 public columnRemoved ( event : IBaseChipEventArgs ) {
5758 const col = this . grid . pivotConfiguration . columns . find ( x => x . fieldName === event . owner . id ) ;
5859 col . enabled = false ;
5960 this . grid . setupColumns ( ) ;
61+ this . grid . filteringService . clearFilter ( col . fieldName ) ;
6062 this . grid . pipeTrigger ++ ;
6163 }
6264
@@ -70,6 +72,8 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent {
7072 public filterRemoved ( event : IBaseChipEventArgs ) {
7173 const filter = this . grid . pivotConfiguration . filters . find ( x => x . fieldName === event . owner . id ) ;
7274 filter . enabled = false ;
75+ this . grid . filteringService . clearFilter ( filter . fieldName ) ;
76+ this . grid . pipeTrigger ++ ;
7377 }
7478
7579 public onFilteringIconPointerDown ( event ) {
You can’t perform that action at this time.
0 commit comments