Skip to content

Commit 73c9c52

Browse files
committed
fix(pivot-grid): do not use dataMapper for pivot row cell values
1 parent c52d353 commit 73c9c52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[rowData]="data" [columnData]='getColumnData(col)'
1515
[style.min-width]="col.resolvedWidth" [style.max-width]="col.resolvedWidth"
1616
[style.flex-basis]="col.resolvedWidth" [width]="col.getCellWidth()" [visibleColumnIndex]="col.visibleIndex"
17-
[value]="pivotAggregationData[col.field] | dataMapper:col.field:grid.pipeTrigger:pivotAggregationData[col.field]:col.hasNestedPath"
17+
[value]="pivotAggregationData[col.field]"
1818
[cellTemplate]="col.bodyTemplate" [lastSearchInfo]="grid.lastSearchInfo"
1919
[cellSelectionMode]="grid.cellSelection" [displayPinnedChip]="shouldDisplayPinnedChip(col)"
2020
(pointerdown)="grid.navigation.focusOutRowHeader($event)">

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { IgxGridSelectionService } from '../selection/selection.service';
1313
import { IPivotGridColumn, IPivotGridRecord } from './pivot-grid.interface';
1414
import { PivotUtil } from './pivot-util';
1515
import { IgxPivotGridCellStyleClassesPipe } from './pivot-grid.pipes';
16-
import { IgxGridNotGroupedPipe, IgxGridCellStylesPipe, IgxGridDataMapperPipe, IgxGridTransactionStatePipe } from '../common/pipes';
16+
import { IgxGridNotGroupedPipe, IgxGridCellStylesPipe, IgxGridTransactionStatePipe } from '../common/pipes';
1717
import { IgxCheckboxComponent } from '../../checkbox/checkbox.component';
1818
import { NgClass, NgStyle } from '@angular/common';
1919
import { IgxGridCellComponent } from '../cell.component';
@@ -24,7 +24,7 @@ import { IgxGridForOfDirective } from '../../directives/for-of/for_of.directive'
2424
selector: 'igx-pivot-row',
2525
templateUrl: './pivot-row.component.html',
2626
providers: [{ provide: IgxRowDirective, useExisting: forwardRef(() => IgxPivotRowComponent) }],
27-
imports: [IgxGridForOfDirective, IgxGridCellComponent, NgClass, NgStyle, IgxCheckboxComponent, IgxGridNotGroupedPipe, IgxGridCellStylesPipe, IgxGridDataMapperPipe, IgxGridTransactionStatePipe, IgxPivotGridCellStyleClassesPipe]
27+
imports: [IgxGridForOfDirective, IgxGridCellComponent, NgClass, NgStyle, IgxCheckboxComponent, IgxGridNotGroupedPipe, IgxGridCellStylesPipe, IgxGridTransactionStatePipe, IgxPivotGridCellStyleClassesPipe]
2828
})
2929
export class IgxPivotRowComponent extends IgxRowDirective {
3030
/**

0 commit comments

Comments
 (0)