Skip to Content
0
Jan 27, 2017 at 11:37 AM

Not able to Bind OData in VBOX in SAPUI5

4021 Views

IN the Manifest.json I had created OData model

<m:Tableid="idProductsTable"items="{path : 'invoice2>/UserDetails'}"

mode="SingleSelectLeft">

<m:columns>

<m:Column>

<m:Texttext="Company"/>

</m:Column>

</m:columns>

<m:items>

<m:ColumnListItem>

<m:cells>

<m:Texttext="{invoice2>Company}"/>

</m:cells>

</m:ColumnListItem>

</m:items>

</m:Table>

By the above code I am able to bind the data and the output is coming. But the issue is

that when I use the VBOX in the GRID control and output is not coming

.

<layout:Gridbinding="{invoice2>/UserDetails}">

<layout:content>

<m:VBox>

<m:Texttext="{invoice2>Company}"/>

</m:VBox>

</layout:content>

</layout:Grid>