Skip to content

Commit b3bf2de

Browse files
committed
fix(*): wrong injected service
1 parent 5b40832 commit b3bf2de

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
169169
PivotGridType, AfterViewInit, OnChanges {
170170
public override readonly gridAPI = inject<GridBaseAPIService<IgxGridBaseDirective & GridType>>(GridBaseAPIService);
171171
public override navigation = inject(IgxPivotGridNavigationService);
172+
protected override colResizingService = inject(IgxPivotColumnResizingService);
172173

173174
/**
174175
* Emitted when the dimension collection is changed via the grid chip area.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import { IgxColumnMovingDropDirective } from '../moving/moving.drop.directive';
5454
import { IgxGridDragSelectDirective } from '../selection/drag-select.directive';
5555
import { IgxGridBodyDirective } from '../grid.common';
5656
import { IgxGridHeaderRowComponent } from '../headers/grid-header-row.component';
57+
import { IgxHierarchicalTransactionFactory } from '../../services/transaction/transaction-factory.service';
5758

5859
let NEXT_ID = 0;
5960

@@ -146,6 +147,7 @@ let NEXT_ID = 0;
146147
})
147148
export class IgxTreeGridComponent extends IgxGridBaseDirective implements GridType, OnInit, AfterViewInit, DoCheck, AfterContentInit {
148149
protected override _diTransactions = inject<HierarchicalTransactionService<HierarchicalTransaction, HierarchicalState>>(IgxGridTransaction, { optional: true, });
150+
protected override transactionFactory = inject(IgxHierarchicalTransactionFactory);
149151

150152
/**
151153
* Sets the child data key of the `IgxTreeGridComponent`.

0 commit comments

Comments
 (0)