on 05-08-2017 7:40 AM
You may have directly bound the results from oData to the Categories list in the master view.
Create a local model variable. ex: var catModel of type JSONModel. Trigger the service and bind the results of the service to the local model.
Then, bind this local model path to the categories list.
Tip: At every step debug the code in the browser to check if the data is retrieved from backend service and then bound to the local model.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The best place for examples is:
https://sapui5.hana.ondemand.com/explored.html and
https://sapui5.hana.ondemand.com/#demoapps.html
https://sapui5.hana.ondemand.com.
Regards,
Sharath
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.