cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while using sap.ui.core.BusyIndicator.show()

Former Member
0 Kudos

Hi all,

i am using sap.ui.core.BusyIndicator.show(0) to show busy indicator while i am requesting data and some logic execution times but it is not showing in runtime. if i tried this in debugging mode it is working fine but if i am putting code and executing there is no busy dialog showing. How can i resolve it.

Thanks,

Kotesh.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi all,

    i am using sap.ui.core.BusyIndicator.show(0); to show it is working fine some times but some times it is not working i am uploading my code in below attachment and in that else part execution busy indicator working fine but if it is going to if condition it is not opening the busy indicator.i am unable to point the error.

Thanks,

Kotesh.

juancarlosorta
Participant
0 Kudos

Hi Kotesh, have you tried to put instead of

sap.ui.core.BusyIndicator.show()  -> sap.ui.core.BusyIndicator.setVisible(true) ?


- I Put an id to BusiIndicator in the view.

- I initialize to false  with:  sap.ui.getCore().byId("BusyIndicatorId").setVisible(false)

- When I want to be displayed: sap.ui.getCore().byId("BusyIndicatorId").setVisible(true)


I hope it helps you.

Regards

Former Member
0 Kudos

Hi Juan,

May know the code what you have used i tried what you told but it is not working for me.

Thanks,

Kotesh.

santhu_gowdaz
Active Contributor
santhu_gowdaz
Active Contributor
0 Kudos

open busy dialog in Requestsent and close in Requestcompleted method

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.model.odata.ODataModel