Skip to content

Commit 6a418ec

Browse files
committed
chore(*): refactor setExpandCollapse State method
1 parent 6267ea9 commit 6a418ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/columns/column.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ export class IgxColumnComponent implements AfterContentInit {
17961796
*/
17971797
protected setExpandCollapseState() {
17981798
this.children.filter(col => (col.visibleWhenCollapsed !== undefined)).forEach(c => {
1799-
if (!this.collapsible) { c.hidden = this.parent.hidden; return; }
1799+
if (!this.collapsible) { c.hidden = this.hidden; return; }
18001800
c.hidden = this._expanded ? c.visibleWhenCollapsed : !c.visibleWhenCollapsed;
18011801
});
18021802
}

0 commit comments

Comments
 (0)