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

Re: Can we get old date value from DataPicker on change event  .??

$
0
0

i'm declaring a variable in global and store in a model. using that model reference i'm doing binding in my view. is this bad??

 

var headerModel = {};

sap.ui.controller("sfs", {

 

    onInit: function() {

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

        this.getView().setModel(oModel, "HeaderModel");

},

})


Viewing all articles
Browse latest Browse all 3585

Trending Articles



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