Skip to Content
avatar image
Former Member

sap.m.Table binding with $expand

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 15, 2015 at 12:09 PM

    I found a solution you can bind id with

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

    Add comment
    10|10000 characters needed characters exceeded