Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

How to Read/Binding Model of .XSODATA

$
0
0

Hi All,

 

I have defined a data model for .xsodata service

 



var oModel = new sap.ui.model.odata.ODataModel("../../../services/order.xsodata/", false);



 



var val1 = new sap.ui.commons.TextField({value: "{Value}"});

 

1. How to read the model and assign it to val1 - with this oModel.read("/OrderIde('10000000')",  .....

 

The model works fine when it is binding to a table like oTable.bindrows("/OrderIde");

 

2. I am not sure how to bind to a layout, for table it works fine as we have an option of .bindrows.

 

Any Alternatives/Suggestions?


Viewing all articles
Browse latest Browse all 5653

Trending Articles