Struggling to transfer data between two unrelated components by clicking on a cell in ag-Grid and passing the data to a form component. I utilized the buttonRenderer function to extract row data from ag-Grid, but I'm unsure how to pass it to the second component. Below are my two interfaces: https://i.sstatic.net/FQP3Z.png
https://i.sstatic.net/gNnf6.png
My code snippets are as follows: Ag-Grid.ts
// Insert your Ag-Grid TypeScript code here
Ag-Grid.html :
// Insert your Ag-Grid HTML code here
ButtonRendererComponent.ts :
// Insert your ButtonRenderer Component TypeScript code here
And lastly, form.ts :
// Insert your Form TypeScript code here
form.html :
// Insert your Form HTML code here
I have hit a roadblock and would greatly appreciate any assistance you can provide. Thank you!