Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Problem with sap.m.List binding

$
0
0

Dear users & experts,

 

I am using sap.m.List in my sapui5 mobile application, where am facing a trouble in binding the list with model. I can get the value from OData service, but I can see only the last value in all the five items in the list.

 

Example: If in the actual aggregation the values are like "A, B, C, D, E" I can see in the list like "E, E, E, E, E" .

 

I am not sure where am missing or doing wrong, below is the code implemented. Could you please check the same and let me update the fix wat I missed here. Thank you.

 

Please also update me if you need any additional info.

 

var oListStandardNoImageNoHeader = new sap.m.List({

                inset : false

            });

 

            var itemTemplate = new sap.m.StandardListItem({

                title : "{HandlingUnit}",

                icon: "icons/yellow_sign_micro.png",

                description: "Test Value",

                iconInset: false

            });


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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