Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

BusyDialog while a long for loop runs

$
0
0

Hi, I have a busy dialog which is opened when a GET request (async) is sent with OData WebService and ends after a successful response. Before I close the busy dialog I do something with the response data. Since the data is soo big and I populate a table with that data the busy dialog rotation freezes. Is it possible to make the busy dialog rotate when I have a big for loop running?

 

The for loop runs like 700 times (don't ask why not my code just want to display the busy dialog while it does it's job) and no web service or DB calls are made, just using the response data to populate a very big table.

 

Is it normal for the busy dialog to freeze while a for loop is runningand is there a way to make the busy dialog rotate while the loop runs?


Thanks in advance


Viewing all articles
Browse latest Browse all 6178

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>