File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/app/grid-column-groups Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2626
2727< ng-template #defaultCollapseIndicator >
2828 < igx-icon [attr.draggable] ="false " >
29- {{column.expand ? 'expand_less ' : 'chevron_right'}} </ igx-icon >
29+ {{column.expand ? 'expand_more ' : 'chevron_right'}} </ igx-icon >
3030</ ng-template >
3131
3232< ng-container *ngIf ="!grid.hasColumnLayouts && column.columnGroup ">
Original file line number Diff line number Diff line change 5757 </ igx-column-group >
5858 </ igx-grid >
5959 < span igxButton (click) ="log() "> Pin first group</ span >
60- < span igxButton (click) ="pinGroup() "> Toggle expand - Address Information</ span >
60+ < span igxButton (click) ="pinGroup() "> Toggle visibleOnCollapse - Person Details</ span >
61+ < span igxButton (click) ="hideGroup() "> Toggle expand - Address Information</ span >
6162 < span igxButton (click) ="toggleCollapsible() "> Toggle collapsible - General Information</ span >
6263 </ section >
6364</ div >
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ export class GridColumnGroupsSampleComponent implements AfterViewInit {
7575
7676 toggleCollapsible ( ) {
7777 // this.collapse = !this.collapse;
78- ( this . grid . columnList . filter ( c => c . header === 'Address Information' ) [ 0 ] as any ) . collapsible =
79- ! ( this . grid . columnList . filter ( c => c . header === 'Address Information' ) [ 0 ] as any ) . collapsible ;
78+ ( this . grid . columnList . filter ( c => c . header === 'General Information' ) [ 0 ] as any ) . collapsible =
79+ ! ( this . grid . columnList . filter ( c => c . header === 'General Information' ) [ 0 ] as any ) . collapsible ;
8080 }
8181
8282 ngAfterViewInit ( ) {
You can’t perform that action at this time.
0 commit comments