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

Binding a list of strings

$
0
0

Is there a way to bind an array of strings to a list in the view?

 

I know how this is done if the array consists of objects. For example, if I had an array testData consisting of objects with property "text", I could do the following:

<List items="{testModel>/testData}">

  <StandardListItem title="text" />

</List>

 

But what if testData consisted of strings?


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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