on 08-12-2015 7:15 PM
Dear Team,
I don't have backend system for accessing the Odata Service. I am using Service that is given by SAP.
http://services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/
I have created one XML view. How we can bind the odata service Product list into XML View and controller.
In the component.js file i have initiated the Odata service. How we can bind the entity set to Table .
var url = "http://services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/";
var oModel = new sap.ui.model.odata.ODataModel(url,true);
oView.setModel(oModel);
Code for the Component.js.
Kindly help me how we can do binding in table .
Thanks
Nishant
Refer-
Binding oData into table(sap.m.table) in SAPUI5 | SCN
SAPUI5 Table binding with ODATA model. | SCN
OData Model and Data Binding | SCN
If any help please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.