7
7
EventEmitter ,
8
8
ComponentFactoryResolver ,
9
9
ElementRef ,
10
- forwardRef ,
11
10
HostBinding ,
12
11
Inject ,
13
12
Input ,
@@ -30,10 +29,10 @@ import { IgxGridBaseDirective } from '../grid-base.directive';
30
29
import { IgxFilteringService } from '../filtering/grid-filtering.service' ;
31
30
import { IgxGridSelectionService } from '../selection/selection.service' ;
32
31
import { IgxForOfSyncService , IgxForOfScrollSyncService } from '../../directives/for-of/for_of.sync.service' ;
33
- import { GridServiceType , GridType , IGX_GRID_BASE , IGX_GRID_SERVICE_BASE , RowType } from '../common/grid.interface' ;
32
+ import { GridType , IGX_GRID_BASE , RowType } from '../common/grid.interface' ;
34
33
import { IgxGridCRUDService } from '../common/crud.service' ;
35
34
import { IgxGridSummaryService } from '../summaries/grid-summary.service' ;
36
- import { DEFAULT_PIVOT_KEYS , IDimensionsChange , IPivotConfiguration , IPivotDimension , IPivotKeys , IValuesChange , PivotDimensionType } from './pivot-grid.interface' ;
35
+ import { DEFAULT_PIVOT_KEYS , IDimensionsChange , IPivotConfiguration , IPivotDimension , IValuesChange , PivotDimensionType } from './pivot-grid.interface' ;
37
36
import { IgxPivotHeaderRowComponent } from './pivot-header-row.component' ;
38
37
import { IgxColumnGroupComponent } from '../columns/column-group.component' ;
39
38
import { IgxColumnComponent } from '../columns/column.component' ;
@@ -544,6 +543,8 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
544
543
// pivot grid always generates columns automatically.
545
544
this . autoGenerate = true ;
546
545
this . uniqueColumnValuesStrategy = this . uniqueColumnValuesStrategy || this . uniqueDimensionValuesStrategy ;
546
+ const config = this . pivotConfiguration ;
547
+ this . filteringExpressionsTree = PivotUtil . buildExpressionTree ( config ) ; ;
547
548
super . ngOnInit ( ) ;
548
549
}
549
550
0 commit comments