I'm finding the ag grid definition below to be a bit confusing. Can anyone clarify for me the difference between (parentSelectionChanged) and (selectionChanged) in the two code blocks provided?
Thank you!
<div class="grid-wrapper">
<app-atlas-grid
[rowData]="rowData"
[columnDefs]="columnDefs"
[floatingFilter]="true"
[enableFilterComponent]="true"
[contextMenuItems]="searchGridContextMenu"
[pagination]="true"
(parentSelectionChanged)="onSelectionChangedGrid($event)"
(parentOnGridReady)="onGridReady($event)"
[paginationPageSize]=20
[context]="context"
style="height: 720px;"
>
</app-atlas-grid>
</div>
<div class="grid-wrapper">
<app-atlas-grid
[rowData]="rowData"
[columnDefs]="columnDefs"
[floatingFilter]="true"
[enableFilterComponent]="true"
[contextMenuItems]="searchGridContextMenu"
[pagination]="true"
(selectionChanged)="onSelectionChangedGrid($event)"
(parentOnGridReady)="onGridReady($event)"
[paginationPageSize]=20
[context]="context"
style="height: 720px;"
>
</app-atlas-grid>
</div>