File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -943,7 +943,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
943
943
944
944
protected generateDimensionColumns ( ) : IgxColumnComponent [ ] {
945
945
const config = this . pivotConfiguration ;
946
- const allDimensions = config . rows . concat ( config . columns ) . concat ( config . filters ) . filter ( x => x !== null ) ;
946
+ const allDimensions = config . rows . concat ( config . columns ) . concat ( config . filters ) . filter ( x => x !== null && x !== undefined ) ;
947
947
const leafFields = PivotUtil . flatten ( allDimensions , 0 ) . filter ( x => ! x . childLevel ) . map ( x => x . memberName ) ;
948
948
const columns = [ ] ;
949
949
const factory = this . resolver . resolveComponentFactory ( IgxColumnComponent ) ;
You can’t perform that action at this time.
0 commit comments