Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

ODataModel Tree Binding

$
0
0

Hi,

 

I am using a SAP Netweaver Gateway with an OData Service. I need to bind this oData to an UI5 tree.

After setting the ODataModel to the tree there is an error, because the model does not have the method bindTree. Since this

method is declared in the base class "model", ODataModel should inherit it from there. I have checked the source file of ODataModel and there is

no such method.

 

So my question is how should I bind data from the OData Service to my tree? Can I just use a JSONModel ? And why is it not possible to bind an

ODataModel to a tree?

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 6178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>