Skip to content

Commit fae2aaa

Browse files
Copilotdamyanpetev
andauthored
refactor(elements,grid): move childrenResolved event to elements project (#17140)
Co-authored-by: Damyan Petev <damyanpetev@users.noreply.github.com>
1 parent 4804f8f commit fae2aaa

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ export class IgxGridElementsComponent extends IgxGridComponent {
144144
@Output()
145145
public columnsAutogenerated = new EventEmitter<IColumnsAutoGeneratedEventArgs>();
146146

147+
/**
148+
* Emitted when content children are resolved and collections in grid are updated.
149+
*/
150+
@Output()
151+
public childrenResolved = new EventEmitter<void>();
152+
147153
/* contentChildren */
148154
/* blazorTreatAsCollection */
149155
/* blazorCollectionName: ActionStripCollection */

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ export class IgxHierarchicalGridElementsComponent extends IgxHierarchicalGridCom
140140
@Output()
141141
public columnsAutogenerated = new EventEmitter<IColumnsAutoGeneratedEventArgs>();
142142

143+
/**
144+
* Emitted when content children are resolved and collections in grid are updated.
145+
*/
146+
@Output()
147+
public childrenResolved = new EventEmitter<void>();
148+
143149
/* contentChildren */
144150
/* blazorTreatAsCollection */
145151
/* blazorCollectionName: ActionStripCollection */

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,12 @@ export class IgxTreeGridElementsComponent extends IgxTreeGridComponent {
134134
@Output()
135135
public columnsAutogenerated = new EventEmitter<IColumnsAutoGeneratedEventArgs>();
136136

137+
/**
138+
* Emitted when content children are resolved and collections in grid are updated.
139+
*/
140+
@Output()
141+
public childrenResolved = new EventEmitter<void>();
142+
137143
/* contentChildren */
138144
/* blazorTreatAsCollection */
139145
/* blazorCollectionName: ActionStripCollection */

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,14 +1008,6 @@ export abstract class IgxGridBaseDirective implements GridType,
10081008
@Output()
10091009
public selectedRowsChange = new EventEmitter<any[]>();
10101010

1011-
/* blazorInclude */
1012-
/** @hidden @internal */
1013-
/**
1014-
* Emitted when content children are resolved and collections in grid are updated.
1015-
*/
1016-
@Output()
1017-
public childrenResolved = new EventEmitter<void>();
1018-
10191011
/**
10201012
* Emitted when the expanded state of a row gets changed.
10211013
*

0 commit comments

Comments
 (0)