I am trying to get changes from one grid to flow into another, and subsequently update one of the rows in that underlying datasource. In the attached plunker, I basically want the underlying datasource of Bar to have the TotalSalary row updated with the total salary that is calculated from Foo. The total salary gets passed down upon hitting enter in the textbox.
I have gotten it working by emitting Foo.getSalaryTotal() instead of Foo itself; however, I would prefer to pass through Foo because I can foresee myself wanting multiple fields passed through and not wanting to have tons of inputs/ouputs.