Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3441

a question about CustomListItem

$
0
0

I have built an XML view as follow:

 

<List

id="people_list"

class="sapUiResponsiveMargin"

headerText="Custom Content"

items="{people>/People}">

<items>

 

<CustomListItem>

<Button text="{people>ProductName}"/>

</CustomListItem>

 

<CustomListItem>

<Label text="{people>ProductName}"/>

</CustomListItem>

 

</items>

</List>

 

"people" is JSON model in walkthrough sample.

I want to show a list of customizing item, which has two levels, a button above and a label below.

But what I get is only Labels, with Buttons disappearing as the attached picture shows.

I am wondering what's wrong with my code.


Viewing all articles
Browse latest Browse all 3441

Trending Articles



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