File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
projects/igniteui-angular/src/lib/grids
src/app/pivot-grid-hierarchy Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ export function notifyChanges(repaint = false) {
7474
7575
7676 const originalSetter = propDesc ? propDesc . set : null ;
77-
7877 propDesc . get = propDesc . get || ( function ( this ) {
7978 return this [ privateKey ] ;
8079 } ) ;
@@ -83,15 +82,17 @@ export function notifyChanges(repaint = false) {
8382 if ( originalSetter ) {
8483 originalSetter . call ( this , newValue ) ;
8584 if ( this . grid ) {
86- this . grid . notifyChanges ( repaint ) ;
85+ const shouldRepaint = this . grid . isPivot ? false : repaint ;
86+ this . grid . notifyChanges ( shouldRepaint ) ;
8787 }
8888 } else {
8989 if ( newValue === this [ key ] ) {
9090 return ;
9191 }
9292 this [ privateKey ] = newValue ;
9393 if ( this . grid ) {
94- this . grid . notifyChanges ( repaint ) ;
94+ const shouldRepaint = this . grid . isPivot ? false : repaint ;
95+ this . grid . notifyChanges ( shouldRepaint ) ;
9596 }
9697 }
9798 } ;
Original file line number Diff line number Diff line change 66 placeholder ="Dimension(s) " searchPlaceholder ="Search... ">
77 </ igx-combo >
88</ div >
9- < igx-pivot-grid #grid1 [data] ="origData " [pivotConfiguration] ="pivotConfigHierarchy " (dimensionsChange) ='dimensionChange($event) ' [defaultExpandState] ='true '>
9+ < igx-pivot-grid [displayDensity] =' "compact" ' #grid1 [data] ="origData " [pivotConfiguration] ="pivotConfigHierarchy " (dimensionsChange) ='dimensionChange($event) ' [defaultExpandState] ='true '>
1010</ igx-pivot-grid >
1111
You can’t perform that action at this time.
0 commit comments