2017-04-21 1 views
0

私は今、このように取得されtableitemsありますsapui5のoData呼び出しで2番目の展開を行う構文は何ですか?

<Table 
    id="table" 
    width="auto" 
    class="sapUiResponsiveMargin" 
    items="{ 
     path: '/InvoiceSet', 
     sorter: { 
      path: 'InvNr', 
      descending: false 
     }, 
     parameters: { 
      expand: 'NavInvoiceItem' 
     } 
    }" 

をしかし、私はこの試みているNavInvoiceAttachment expantionを追加したい:

expand: 'NavInvoiceItem', 
     'NavInvoiceAttachments' 

この

expand: ['NavInvoiceItem', 
     'NavInvoiceAttachments'] 

とをこの

expand: {'NavInvoiceItem', 
     'NavInvoiceAttachments'} 

しかし、何も動作していないようです。

+1

「は、単一の文字列には、カンマで区切られた」を試してみましたか? –

答えて

0

マーヴィンスミットがコメントしたように、このようなカンマで区切られた単一の文字列のソリューションです:

expand: 'NavInvoiceItem,NavInvoiceAttachments' 
関連する問題