cancel
Showing results for 
Search instead for 
Did you mean: 

Busy Dialog not working properly. Any help?

Former Member
0 Kudos

Hello,

I have been trying to use the sap.m.busyIndicator in XML view UI. It seems working fine with the below code:

jQuery.sap.delayedCall(0, this, function () { busyDialog.open(); }); / busyDialog.open

jQuery.sap.delayedCall(2000, this, function () {busyDialog.close();});

Its working fine but the issue is busy dialog not starting as soon as the event is fired.

SAP UI version: 1.28.19

MII 15.1.1 (SP2)

Browsers for testing: IE11 and Chrome

Please let me know if I am doing anything wrong here.


Thanks & Best Regards,

Venkatesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The dialog worked fine in the client's machine. Not sure what went wrong. Thanks everyone for your help.

Answers (2)

Answers (2)

saivellanki
Active Contributor
0 Kudos

Hi Venkatesh,

Which control are you using? sap.ui.core.BusyIndicator (or) sap.m.BusyDialog?

Regards,

Sai.

Former Member
0 Kudos

Hi Sai, sap.m.BusyDialog.

taking the id from XML view.

Thanks & Best Regards,

Venkatesh

former_member203031
Contributor
0 Kudos

Hi Venkatesh,

Please check the link it might be helpful

https://embed.plnkr.co/1MIxYfVtaaOiW4yF0U08/

Thanks,

Deepak Raj.

Former Member
0 Kudos

Hi Deepak, thanks for your reply. Busy dialog which I have created is working fine and in XML view but not the js view. Its working fine in js view I have already implemented for multiple applications. There is some delay in getting the busy dialog on button press event.

former_member203031
Contributor
0 Kudos

Ok .

Is it working fine now?

Former Member
0 Kudos

no Deepak.

former_member203031
Contributor
0 Kudos

I think you cant call the busy dialog directly from the view by using id in the XML views.

You have to make this in the controller after some action triggered.

Former Member
0 Kudos

No Deepak. I am doing that in controller only. I have mentioned it's working which means there is no issue in rendering but the only issue is there is a delay in showing the dialog.

former_member203031
Contributor
0 Kudos

If you want to show it immediately then you need to execute the dialog immediately when it enters in to the function.Then you can trigger it immediately.