on 02-05-2016 12:11 PM
Hi All,
A have a table, and in my controller I'm binding the rows of the table this way:
searchResultTable.bindRows("/OrderHeaderSet", null,
null, filterArray, {"expand":"StatusSet"});
Everithing works fine (i get the filtered dataset), except the "StatusSet" node is not expanded, and so it has no data inside.
How can I tell the "bindRows" method to expand this entity? (Obviously my approach doesn't work)
Best Regards,
Szilamér
searchResultTable.bindRows(
{
path : "/OrderHeaderSet",
filters : filterArray,
parameters : { "expand":"StatusSet"}
} );
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't used in JS yet, but my XML was something like this:
<List items="{path:'/HeaderSet', parameters:{expand : 'HeaderToItem'}, filters : [{
path:'somefield1', operator:'EQ', value1:true}]}">
<items>
<ObjectListItem title="{somefield2}">
<firstStatus>
<ObjectStatus text="{HeaderToItem/anotherfield}" />
</firstStatus>
</ObjectListItem>
</items>
</List>
You just need to adapt. You can also check the links below:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.