Skip to Content
0

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

May 15, 2017 at 10:22 AM

35

avatar image
Former Member

<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>

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mahesh kumar palavalli May 15, 2017 at 05:20 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded