Skip to content

Commit 07ef28a

Browse files
MKirovaMKirova
authored andcommitted
Remove gray header template.
1 parent 8b9ebf9 commit 07ef28a

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row.component.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,6 @@
106106
</div>
107107
</ng-template>
108108

109-
<ng-template #headerTemplateGray let-column>
110-
<div class='igx-grid__tr--header igx-grid__row-indentation--level-{{getLevel(column)}}'>
111-
<igx-icon style='flex-shrink: 0;' [attr.draggable]="false"></igx-icon>
112-
{{column.header}}
113-
</div>
114-
</ng-template>
115-
116109
<ng-template #headerDefaultTemplate let-column>
117110

118111
<div class='igx-grid__tr--header igx-grid__row-indentation--level-{{getLevel(column)}}'>

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-row.component.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ export class IgxPivotRowComponent extends IgxRowDirective implements OnChanges {
3939
@ViewChild('headerTemplate', { read: TemplateRef, static: true })
4040
public headerTemplate: TemplateRef<any>;
4141

42-
/**
43-
* @hidden @internal
44-
*/
45-
@ViewChild('headerTemplateGray', { read: TemplateRef, static: true })
46-
public headerTemplateGray: TemplateRef<any>;
47-
4842
/**
4943
* @hidden @internal
5044
*/
@@ -162,8 +156,6 @@ export class IgxPivotRowComponent extends IgxRowDirective implements OnChanges {
162156
(ref as any).instance._vIndex = this.grid.columns.length + index + this.index * this.grid.pivotConfiguration.rows.length;
163157
if (dim.childLevel && lvl >= PivotUtil.getTotalLvl(this.data)) {
164158
ref.instance.headerTemplate = this.headerTemplate;
165-
} else if (lvl < PivotUtil.getTotalLvl(this.data)) {
166-
ref.instance.headerTemplate = this.headerTemplateGray;
167159
} else {
168160
ref.instance.headerTemplate = this.headerTemplateDefault;
169161
}

0 commit comments

Comments
 (0)