cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello folks,

I'm wondering if there is a way how to determine with a code to wait/pause until the widgets are fully loaded and then continue?

In more detail: I want to run at the end of my function the code "Application.hideBusyIndicator()", but for this I have to determine somehow when the load is finished.

Any hints/suggestions would be appreciated.

Thanks.

Peter

View Entire Topic
JBARLOW
Active Contributor
0 Likes

In the past I've had to estimate load times - not ideal but.

Also used stuff like checking result sets and using timers to delay things.

Application.showBusyIndicator("Loading");
var LEN = Chart_1.getDataSource().getResultSet().length;
if(LEN>0)
	{HIDE_LOAD.start(1);}
//HIDE_LOAD  contains the code ---
Application.hideBusyIndicator();