Skip to Content
0
Former Member
Sep 18, 2014 at 11:41 AM

busyDialog responds to slow

86 Views

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