Skip to content

refactor(elements,grid): move childrenResolved event to elements project#17140

Merged
damyanpetev merged 3 commits intomkirova/feat-15235from
copilot/update-elements-specific-event
Mar 31, 2026
Merged

refactor(elements,grid): move childrenResolved event to elements project#17140
damyanpetev merged 3 commits intomkirova/feat-15235from
copilot/update-elements-specific-event

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

PR #15226 added a childrenResolved event to IgxGridBaseDirective in the Angular library, but this event is elements-specific — it's only emitted by custom-strategy.ts in the elements project. This PR moves it to the elements project source, consistent with PR #15304's goal of relocating all elements-specific members.

Changes

  • Removed childrenResolved from grid-base.directive.ts in the Angular library
  • Added childrenResolved to the three elements-specific grid components:
    • IgxGridElementsComponent
    • IgxHierarchicalGridElementsComponent
    • IgxTreeGridElementsComponent

The custom-strategy.ts references (componentRef?.instance?.childrenResolved?.emit()) continue to resolve correctly since the event now lives on the elements component instances that the strategy instantiates.

Copilot AI and others added 2 commits March 31, 2026 14:06
…o elements-specific grid components

Agent-Logs-Url: https://github.com/IgniteUI/igniteui-angular/sessions/0967549a-3bc1-4fc6-beaf-5c8849c8cd29

Co-authored-by: damyanpetev <3198469+damyanpetev@users.noreply.github.com>
Co-authored-by: Damyan Petev <damyanpetev@users.noreply.github.com>
@damyanpetev damyanpetev marked this pull request as ready for review March 31, 2026 14:29
@damyanpetev damyanpetev merged commit fae2aaa into mkirova/feat-15235 Mar 31, 2026
@damyanpetev damyanpetev deleted the copilot/update-elements-specific-event branch March 31, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants