Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: Issue in displaying a list using bind aggregation

$
0
0

I saw the below statement

list.setModel(oJsonModel, "CustomerModel");

 

But there is no oJsonModel in your code.

 

Do you mean it is a typo and it should be

 

list.setModel(customerModel, "CustomerModel");



Another question is:

var customerModel = new sap.ui.model.json.JSONModel({ Customers : oData.results} ); 


What is 'Customers' here? Do we need to refer it as the entityset name that was given in the oData service




Viewing all articles
Browse latest Browse all 9656

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>