File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -922,6 +922,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
922
922
const groupColumns = col . children . filter ( x => x . columnGroup ) ;
923
923
groupColumns . forEach ( groupColumn => {
924
924
groupColumn . hidden = newState ;
925
+ this . columnGroupStates . set ( groupColumn . field , newState ) ;
925
926
this . resolveToggle ( groupColumn ) ;
926
927
} ) ;
927
928
@@ -932,6 +933,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
932
933
const groupColumns = siblingCol . children . filter ( x => x . columnGroup ) ;
933
934
groupColumns . forEach ( groupColumn => {
934
935
groupColumn . hidden = newState ;
936
+ this . columnGroupStates . set ( groupColumn . field , newState ) ;
935
937
this . resolveToggle ( groupColumn ) ;
936
938
} ) ;
937
939
}
You can’t perform that action at this time.
0 commit comments