File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
projects/igniteui-angular/src/lib/data-operations Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { FilteringLogic , IFilteringExpression } from './filtering-expression.interface' ;
2
2
import { FilteringExpressionsTree , IFilteringExpressionsTree } from './filtering-expressions-tree' ;
3
3
import { resolveNestedPath , parseDate } from '../core/utils' ;
4
- import { GridType } from '../grids/common/grid.interface' ;
5
- import { IgxPivotGridComponent } from '../grids/pivot-grid/pivot-grid.component' ;
4
+ import { GridType , PivotGridType } from '../grids/common/grid.interface' ;
6
5
import { PivotUtil } from '../grids/pivot-grid/pivot-util' ;
7
6
8
7
const DateType = 'date' ;
@@ -154,7 +153,7 @@ export class PivotFilteringStrategy extends FilteringStrategy {
154
153
value = value && ( isDate || isTime ) ? parseDate ( value ) : value ;
155
154
return value ;
156
155
}
157
- const config = ( grid as IgxPivotGridComponent ) . pivotConfiguration ;
156
+ const config = ( grid as PivotGridType ) . pivotConfiguration ;
158
157
const allDimensions = config . rows . concat ( config . columns ) . concat ( config . filters ) . filter ( x => x !== null && x !== undefined ) ;
159
158
const flattenedDims = PivotUtil . flatten ( allDimensions , 0 ) ;
160
159
const dimension = flattenedDims . find ( x => x . memberName === fieldName ) ;
You can’t perform that action at this time.
0 commit comments