File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
projects/igniteui-angular/src/lib/grids/pivot-grid Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 278278 }
279279 }
280280 < div class ="igx-grid-thead--virtualizationWrapper " [style.max-height.px] ="maxContainerHeight " (click) ="grid.navigation.focusOutRowHeader($event) ">
281- @for (dimLevelColumns of columnDimensionsByLevel; track trackColumnDimensionByLevel(dimLevelColumns) ; let i = $index) {
281+ @for (dimLevelColumns of columnDimensionsByLevel; track $index ; let i = $index) {
282282 < div class ="igx-grid-thead__group igx-grid-thead--virtualizationContainer " [style.height.px] ="totalDepth > 1 ? grid.rowHeight : undefined " [style.width.px] ="grid.unpinnedWidth ">
283283 < ng-template igxGridFor #headerVirtualContainer let-column
284284 [igxGridForOf] ="dimLevelColumns " [igxGridForOfUniqueSizeCache] ="true " [igxForScrollContainer] ="grid.parentVirtDir "
Original file line number Diff line number Diff line change @@ -203,15 +203,6 @@ export class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponent implem
203203 return this . totalDepth * this . grid . renderedRowHeight ;
204204 }
205205
206- /**
207- * @hidden
208- * @internal
209- * Use tracking function to fix ngFor not clearing old records from the DOM while updating it, causing incorrect header height during _calculateGridBodyHeight.
210- */
211- public trackColumnDimensionByLevel ( item : IgxColumnComponent [ ] ) {
212- return item . map ( col => col . field ) . join ( '-' ) ;
213- }
214-
215206 /**
216207 * @hidden
217208 * @internal
You can’t perform that action at this time.
0 commit comments