How to bind xsodata in sapui5 table?

476 Views Asked by At

I am trying to bind xsodata in sapui5, but i don't know how to instantiate xsodata model in it . Also, is it possible to perform create and update operation with the help of xsodata in sap hana database from sapui5.

1

There are 1 best solutions below

0
On

You can simply instantiate ODataModel like:

var oModel = new sap.ui.model.odata.ODataModel("/yourendpoint.xsodata", true);