cancel
Showing results for 
Search instead for 
Did you mean: 

sap.m.Table binding with $expand

Former Member
0 Kudos

Hey,

i am trying to bind an path with a $expand option to a table like this:

<Table class="sapUiResponsiveMargin" noDataText="Nothing here" growing="true" growingThreshold="10"

   width="auto" items="{ToProduct?$expand=ToPrice}">

However i just see a MyModel('ABCD')/ToProduct?$skip=0&$top=10 Request in my chrome debugger.

Any idea why my expand Parameter vanishes?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I found a solution you can bind id with

items="{path: 'ToProduct', parameters: { expand: 'ToPrice' } }" .

Former Member
0 Kudos

Thanks a million for posting the solution.  Much appreciated.

Answers (0)