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

busyDialog responds to slow

$
0
0

Hi,


I have a sap.m.BusyDialog coupled to my odatamodel using the 'attachRequestSent' method.


var oModel = new sap.ui.model.odata.ODataModel(

                                sServiceUrl, false);

oModel.attachRequestSent(function() {

      busyDialog.open();

});

oModel.attachRequestCompleted(function() {

      busyDialog.close();

});


The dialog shows up to late, when the new data is almost loaded. I want the busydialog to pop up right at the moment when I press the button.


Anyone who can help me?


Kind regards,


RW


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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