Skip to Content
0

How to bind tile container

Sep 11, 2017 at 12:07 PM

27

avatar image
Former Member

I've custom tile container. From home page I'm navigating on product page. where apart from products I've to call another model to get some other information. that model I've defined in my menifest file. I've filtered my product according to product ID. which gave me single record and I've shown on my view. Now I've to get record by product name from other model and bind to tile container.

In my home page I did binding in XML view. like below.

<TileContainer id="overviewTileContainer"
   tiles="{ path: 'product>/Product', parameters: { select: 'ID,NAME, RESP_TOTAL,DLES' }, sorter: { path: 'NAME', descending: true } }">
    <tiles>
	<CUSTOM:CUSTTile name="{product>RESP_TOTAL} Responses" topicId="{product>ID}" topic="{product>NAME}"  id="tileProduct" press=".handleCourseClick"></CUSTOM:CUSTTile>
		</tiles>
	</TileContainer>
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers