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

how to give multiple description in a list

$
0
0

Hi experts,

 

Hi am trying to bind multiple description to the standardlistlitem template . how do i achieve it. below is the code

 

var oItemTemplate = new sap.m.StandardListItem({

  id: "sList",

  title: "{data>name}",

  description: "{data>price}"

  });

 

Here "data" is the JSON object. You can find the snapshot of the list in the attachment.

 

In description you can see 6500,7200 ..etc what do i need to do so that i can include an extra description such as name or some other property from JSON object.

 

so that the final output will be like

 

MAC-BOOK AIR 11 inch

6500

MAC-BOOK AIR 11 inch

 

please kindly help.

 

regards

Indrajith


Viewing all articles
Browse latest Browse all 8372

Trending Articles



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