cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Busy Indicator While loading SAPUI5 Application

Former Member
0 Likes
5,045

Hi All,

I have developed an SAPUI5 application. When i run the application it is taking more time to load.

i want to show a busy indicator during the loading process.

i cannot use a Sapui5 control as it is still not loaded ; can u please help me with some other option .

Thanks

Poornima.

View Entire Topic
tharu
Contributor
0 Likes

Dear Poornima,

In your method set below parameter untill Data loads.

<form name or layout name>.setBusy(true);

when Data loading completed;

<form name or layout name>.setBusy(false);

Former Member
0 Likes

    Dear Tharaka,

                    Thanks for your reply.

    I want to show a busy indicator before my index.html gets loaded.

Thanks,

Poornima.

tharu
Contributor
0 Likes

Dear Poornima,

As per your reply I guess you load all your data before  Index.html loaded.

If that is true set the "setBusy(true);" code according to your code.


OR

In the "onInIt()" Function of your program just write the Coding I have mentioned.

( onInIt() Function is the function that is called by the program automatically when initial page is loaded )


if you are not sure just show the code of your program..I'll help you out

Former Member
0 Likes

Hi Fernando,

I want to apply the busy indicator in a select dialog, where I am loading data in a customList. I want to show the busy indicator before the list gets populated and disable it after the data renders.

Please suggest how I can do that.

Thanks in Advance!

Regards,

Anupriya