Skip to content

Commit dd53412

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Bring back selectedRowsChange in base since it has become public.
1 parent a993149 commit dd53412

File tree

4 files changed

+3
-18
lines changed

4 files changed

+3
-18
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,11 @@ export class IgxGridElementsComponent extends IgxGridComponent {
156156
document, cdr, differs, viewRef,injector, envInjector, navigation, filteringService, textHighlightService, overlayService,
157157
summaryService, localeId1, platform, _diTransactions
158158
);
159-
this.selectionService.selectedRowsChange.pipe(takeUntil(this.destroy$)).subscribe((args: any[]) => {
160-
this.selectedRowsChange.emit(args);
161-
});
162159
}
163160

164161
@Output()
165162
public columnsAutogenerated = new EventEmitter<IColumnsAutoGeneratedEventArgs>();
166163

167-
@Output()
168-
public selectedRowsChange = new EventEmitter<any[]>();
169-
170164
/* contentChildren */
171165
/* blazorTreatAsCollection */
172166
/* blazorCollectionName: ActionStripCollection */

projects/igniteui-angular-elements/src/lib/grids/row-island.component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ export class IgxRowIslandElementsComponent extends IgxRowIslandComponent {
9393
localeId,
9494
platform
9595
);
96-
this.selectionService.selectedRowsChange.pipe(takeUntil(this.destroy$)).subscribe((args: any[]) => {
97-
this.selectedRowsChange.emit(args);
98-
});
9996
}
10097

10198
/* contentChildren */
@@ -114,9 +111,6 @@ export class IgxRowIslandElementsComponent extends IgxRowIslandComponent {
114111
@Output()
115112
public columnsAutogenerated = new EventEmitter<IColumnsAutoGeneratedEventArgs>();
116113

117-
@Output()
118-
public selectedRowsChange = new EventEmitter<any[]>();
119-
120114
// TODO(api-analyzer): Shouldn't need all tags to copy from base or hidden/internal due to include tag
121115
/* contentChildren */
122116
/* blazorTreatAsCollection */

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,11 @@ export class IgxTreeGridElementsComponent extends IgxTreeGridComponent {
166166
platform,
167167
_diTransactions,
168168
);
169-
this.selectionService.selectedRowsChange.pipe(takeUntil(this.destroy$)).subscribe((args: any[]) => {
170-
this.selectedRowsChange.emit(args);
171-
});
172169
}
173170

174171
@Output()
175172
public columnsAutogenerated = new EventEmitter<IColumnsAutoGeneratedEventArgs>();
176173

177-
@Output()
178-
public selectedRowsChange = new EventEmitter<any[]>();
179-
180174
/* contentChildren */
181175
/* blazorTreatAsCollection */
182176
/* blazorCollectionName: ActionStripCollection */

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3456,6 +3456,9 @@ export abstract class IgxGridBaseDirective implements GridType,
34563456
this._transactions = this.transactionFactory.create(TRANSACTION_TYPE.None);
34573457
this._transactions.cloneStrategy = this.dataCloneStrategy;
34583458
this.cdr.detach();
3459+
this.selectionService.selectedRowsChange.pipe(takeUntil(this.destroy$)).subscribe((args: any[]) => {
3460+
this.selectedRowsChange.emit(args);
3461+
});
34593462
IgcTrialWatermark.register();
34603463
}
34613464

0 commit comments

Comments
 (0)