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?