on 05-08-2020 9:54 AM
I've found this code on Github. We have Custom List Item control here. Also, we have 2 js-files and 1 xml. In xml we have 5 tags
<cust:CustomList items="{/grid}"> <cust:items> <cust:CustomListItem href1="{hyperlink}" src1="{image}"/> </cust:items> </cust:CustomList>So, I need to rewrite these 2 js-files in one file, and instead of 5 tags in xml I need to make just one tag like this <cust:CustomList items="{/grid}" href1="{hyperlink}" src1="{image}"/>. Can you help me&
Hi, Use a property of the type object instead of the aggregation. This will allow you to bind a full JavaScript object that can contain properties and arrays which then can be used in your control.
Hope this helps.
Kr, Wouter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.