Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

busyDialog responds to slow

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

Former Member
Former Member replied

Just to test, does it work if you increase the setTimeout delay from 0 -> 2000?

Regards,

Kimmo

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question