on 01-13-2016 3:32 PM
Hi experts,
I have came across an issue where my screen consists of splitapp layout in which master page contains sap.m.list items which is coming from one collection and detail page consists of header part and icon tab bar.If i performs an action on detail page let's suppose pressing a button then i have to refresh the master page and call the service url again for getting the data to refresh the sap.m.list. ANY EXAMPLE FROM ANYONE?
I am asking how to call the service url from detail page controller.js file for updating the bounded data in master page which is sap.m.List. Refreshing the model just refreshes the data in model.But calling the service again is different scenario.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Jamie already stated a refresh on the model of your List will also refresh every Control that is bound to this model.
So this is no other scenario than calling the service again manually.
If you want to filter the data or something like that, then a refresh is not sufficient, but then you need to be more specific in your question, so that we can understand your actual problem.
Regards,
Florian
You should be able to use
this.getView().getModel().refresh();
which would be called automatically if you are changing the model.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
buddy, you have no idea what is refresh,
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.