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

Re: How to set chart busy while loading data?

$
0
0

Hi Denis,

 

Belew is the code I are using now:

 

createContent : function(oController) {

 

     URL = "ui/test.xsjs/getData?after=20140101&before=20151231";

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

    oModel.attachRequestSent(function(){

         console.log("attachRequestSent");

    );

    oModel.attachRequestCompleted(function(){

         console.log("attachRequestCompleted");

  });

}

 

But in the console I only see "attachRequestCompleted", and could not find "attachRequestSent".

 

Do you have any idea when the event attachRequestSent will be fired?

 

Thanks and best regards,

Tim


Viewing all articles
Browse latest Browse all 2638

Trending Articles



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