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

Re: clear the object in model in sapui5

$
0
0

Hi Somil,

 

Do you want to wipe out the whole model data? If so, you can try something like this:

var oModel = sap.ui.getCore().getModel();          //Get Hold of the Model
oModel.setData(null);     //Set the model data to blank / null

Regards,

Sai Vellanki.


Viewing all articles
Browse latest Browse all 3353

Trending Articles



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