Skip to content

Commit 5a9fc7a

Browse files
MKirovaMKirova
authored andcommitted
Remove processed state at the end.
1 parent bd9efaa commit 5a9fc7a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/data-operations/pivot-strategy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ export class PivotColumnDimensionsStrategy implements IPivotDimensionStrategy {
121121
delete hierarchy[k];
122122
}
123123
});
124-
delete hierarchy.processed;
125124
for (const property in flatCols) {
126125
if (flatCols.hasOwnProperty(property)) {
127126
hierarchy[property] = flatCols[property];

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export class IgxPivotRowExpansionPipe implements PipeTransform {
7777
private cleanState(data, pivotKeys) {
7878
data.forEach(rec => {
7979
const keys = Object.keys(rec);
80+
delete rec.processed;
8081
//remove all record keys from final data since we don't need them anymore.
8182
keys.forEach(k => {
8283
if (k.indexOf(pivotKeys.records) !== -1) {

0 commit comments

Comments
 (0)