cancel
Showing results for 
Search instead for 
Did you mean: 

SAC Analytic Application - Wait until data fully loaded

sanpe
Explorer
3,296

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
avsalynin
Active Contributor

What will be incorrect if you do something like this?

Application.showBusyIndicator('Data is loading'); 
Table_1.getDataSource().getResultSet(); // one || more sources
Application.hideBusyIndicator();
sanpe
Explorer

Hi Aleksey,
thanks for your reply!

My dataset in quite large (with some extra calculations, exception aggregations, etc... in the live model). The problem is, that the code is quicker/finishes earlier than the widgets are fully loaded.

The impact is that the 'busyIndicator' is hidden earlier than expected.