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

Re: sap.m.list

$
0
0

Hi Ugur ,

Thanks for the Example it is what i needed, But there is a small problem, i have binded to list using odata services.

i am reading the odata service and setting the data to a array variable as u can see in the below code:

 

Code:

var data = odata.results;

 

 

var jsonmodel = new sap.ui.model.json.JSONModel();
jsonmodel.setData(data);
sap.ui.getCore().byId("List_ID").setModel(jsonmodelUV);

 

now when i add and remove items empty items are getting appended,Please find the image useful.

thanks

Rohit

1.jpg


Viewing all articles
Browse latest Browse all 2242

Trending Articles



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