Hi experts,
I have a huge problem because I am not able to find data in order to do that.
This what I need to do:
I have a Table in the View ("view1) wich is displaying data from DataModel. Then I press a button which navigate to another view ("view2) where I have to add new data. Once I have added the data I press a button which call a event ("onAdd") in order to store the data using jQuery.sap.storage.Type.session. (I do this way because I don't want to create new data in the data model unless another confirm button had been pressed).
So now, I would like to know if its possible to add a new row in the table on the view (view1) displaying the new data when onAdd event (which is in the view2 controller) is triggered. When I go back to the view1 I should be able to see the new row with the new data added.
I don't know how to bind the action of a event in the view2 whose results have to be displayed in the view1 and where I have to write the code in order to add the row.
Thanks in advance,
Marcos.