Skip to Content
1
Former Member
Aug 30, 2013 at 07:12 PM

Problem with sap.m.List binding

2863 Views

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

});