Skip to Content
avatar image
Former Member

How can I use Rating Idicator control in a objectlistitem to show the ratings of each product ??

<List id="list" items="{/products}" updateFinished="onUpdateFinished" growing="true" growingThreshold="7" growingScrollToLoad="true">

<items>

<ObjectListItem type="Active" selected="true" icon="{image}" press="itempress" title="{id}" number="{ path: 'price' }" numberUnit="{CurrencyCode}" markFavorite="true"> </ObjectListItem>

</items>

</List>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 15, 2017 at 05:20 PM

    You can use the aggregation "attributes", in which the control "sap.m.ObjectAttribute" can be placed. Again the ObjectAttribute control will have an aggregation called "customContent", where you can place your desired control.

    else you can go with "CustomListItem" where you can place any control you like.

    Best Regards,
    Mahesh

    Add comment
    10|10000 characters needed characters exceeded