[CLOSED] Loading data in store take too long. browser hangs.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Loading data in store take too long. browser hangs.

    Hi,

    I try to load the stroes data in the javascript using

    
       store.clearData();                     store.loadData(groupedResult[i].Values, false);                     store.commitChanges();
    when i do this my browser hangs, and tells there is a long running script which caused this... help me out asap
    Last edited by Daniil; Nov 22, 2011 at 8:42 AM. Reason: [CLOSED]
  2. #2
    Hi,

    How big is a "groupedResult"?
  3. #3
    it just contains only 50 rows, but each record has 40 fields
  4. #4
    What browser do you test with? I guess IE, but what is the version?

    Anyways, IE (especially < 9) has too low JavaScript engine to work with such data, therefore I'm not sure we can help.

    Though please try the following code:
    store.suspendEvents();
    store.loadData(groupedResult[i].Values, false);
    store.resumeEvents.defer(10, store);
    store.commitChanges.defer(20, store);
  5. #5
    kindly give me a solution asap.. we have deployment.. time matters
  6. #6
    suspending events improves the speed, this will cause any listeners attached to fail right.. any help. please
  7. #7
    Quote Originally Posted by speedstepmem3 View Post
    this will cause any listeners attached to fail right
    Please provide more details.

Similar Threads

  1. Replies: 2
    Last Post: Dec 19, 2011, 1:54 AM
  2. [CLOSED] Bug when open window, loading mask hangs
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Oct 14, 2011, 6:23 PM
  3. [CLOSED] Loading data from server to store by javascript
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 21, 2011, 4:44 PM
  4. Replies: 2
    Last Post: Mar 09, 2010, 12:55 PM
  5. Replies: 10
    Last Post: Nov 20, 2008, 3:17 PM

Posting Permissions