PDA

View Full Version : Screen freeze while AJAX call take more time to load



jaiishankar
29 Jul 2011, 11:15 AM
I have a List linked to store. I am calling store load on activate and the screen freezes till the time the ajax call/store load is completed.

Is there any way to avoid this.

I even tried defer function. Still when it is running it is freezing the whole screen.

jjerome
29 Jul 2011, 11:36 AM
The threads/scripts wait for the Ajax request to complete, which simulates the "freezing", but the store loading is asynchronous to the threads/scripts. I don't believe there is a way around this.

If there are workarounds I'd like to know too.

jaiishankar
29 Jul 2011, 11:43 AM
Even for AJAX calls the screen freezes. Is there a way to avoid screen freeze during AJAX calls?

jjerome
29 Jul 2011, 11:48 AM
Even for AJAX calls the screen freezes. Is there a way to avoid screen freeze during AJAX calls?

Read what I wrote before. That is what I said.