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

Get Data from Jason Model

$
0
0


Hi Friends,

I have a Problem.

In the code bellow I try to read the data from a Jason model.

 

 

var oModelJson = new sap.ui.model.json.JSONModel(); 

 

oModelTree.read( '/ZIPW_WS2SWSColection', null, null, true, function(oDataTree, oResponse){

oModelJson.setData(oDataTree); } null);

 

var data = oModelJson.getData(); 


Now I want to get the data out of the variable 'data' .

 

How can I archieve this?

 

 

 

 

Thanks in advance

 

Joerg


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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