Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2823

Re: Can't read data from the model

$
0
0

No, I use it to store the only value - a counter, which is incremented during the work of the app.

I use it's value to create a unique IDs for controls.

 

I just tried to put a line

 

console.log(sap.ui.getCore().getModel(<modelname>).getData());

 

into onBeforeRendering() and into onAfterRendering functions.

I can't read the data even from those, when just in onInit() I have set it.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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