33 Component ,
44 HostBinding ,
55 Input ,
6- Output ,
7- EventEmitter ,
86 forwardRef ,
97 OnInit ,
108 TemplateRef ,
@@ -18,7 +16,7 @@ import { IgxTreeGridAPIService } from './tree-grid-api.service';
1816import { IgxGridBaseDirective } from '../grid-base.directive' ;
1917import { GridBaseAPIService } from '../api.service' ;
2018import { ITreeGridRecord } from './tree-grid.interfaces' ;
21- import { IRowToggleEventArgs , IPinRowEventArgs } from '../common/events' ;
19+ import { IRowToggleEventArgs } from '../common/events' ;
2220import { HierarchicalTransaction , HierarchicalState , TransactionType } from '../../services/transaction/transaction' ;
2321import { IgxHierarchicalTransactionService } from '../../services/index' ;
2422import { IgxFilteringService } from '../filtering/grid-filtering.service' ;
@@ -28,7 +26,6 @@ import { mergeObjects } from '../../core/utils';
2826import { first , takeUntil } from 'rxjs/operators' ;
2927import { IgxRowLoadingIndicatorTemplateDirective } from './tree-grid.directives' ;
3028import { IgxForOfSyncService , IgxForOfScrollSyncService } from '../../directives/for-of/for_of.sync.service' ;
31- import { IgxDragIndicatorIconDirective } from '../row-drag.directive' ;
3229import { IgxGridNavigationService } from '../grid-navigation.service' ;
3330import { GridType } from '../common/grid.interface' ;
3431import { IgxColumnComponent } from '../columns/column.component' ;
@@ -375,16 +372,6 @@ export class IgxTreeGridComponent extends IgxGridBaseDirective implements GridTy
375372 this . loadingRows . delete ( parentID ) ;
376373 this . addChildRows ( children , parentID ) ;
377374 this . notifyChanges ( ) ;
378-
379- requestAnimationFrame ( ( ) => {
380- const cellID = this . selectionService . activeElement ;
381- if ( cellID ) {
382- const cell = this . _gridAPI . get_cell_by_index ( cellID . row , cellID . column ) ;
383- if ( cell ) {
384- cell . nativeElement . focus ( ) ;
385- }
386- }
387- } ) ;
388375 } ) ;
389376 }
390377 }
0 commit comments