File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
projects/igniteui-angular/src/lib/grids/columns Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -303,12 +303,6 @@ export class IgxColumnGroupComponent extends IgxColumnComponent implements After
303303
304304 set width ( val ) { }
305305
306- private setExpandCollapseState ( ) {
307- this . children . filter ( col => ( col . visibleOnCollapse !== undefined ) ) . forEach ( c => {
308- c . hidden = this . _expand ? c . visibleOnCollapse : ! c . visibleOnCollapse ;
309- } ) ;
310- }
311-
312306 // constructor(public gridAPI: GridBaseAPIService<IgxGridBaseDirective & IGridDataBindable>, public cdr: ChangeDetectorRef) {
313307 // // D.P. constructor duplication due to es6 compilation, might be obsolete in the future
314308 // super(gridAPI, cdr);
Original file line number Diff line number Diff line change @@ -1751,6 +1751,16 @@ export class IgxColumnComponent implements AfterContentInit {
17511751 this . calcPixelWidth = parseInt ( this . _calcWidth , 10 ) ;
17521752 }
17531753
1754+ /**
1755+ * @hidden
1756+ * @internal
1757+ */
1758+ protected setExpandCollapseState ( ) {
1759+ this . children . filter ( col => ( col . visibleOnCollapse !== undefined ) ) . forEach ( c => {
1760+ c . hidden = this . _expand ? c . visibleOnCollapse : ! c . visibleOnCollapse ;
1761+ } ) ;
1762+ }
1763+
17541764 /**
17551765 *@hidden
17561766 */
You can’t perform that action at this time.
0 commit comments