Results 1 to 2 of 2

Thread: problem with loading tree grid data

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default problem with loading tree grid data

    I am facing an issue with loading tree grid.
    my functional flow is as follows:
    i need to import a text file from my sencha application. (expecting max 3 mb)
    java service will parse this file and return the json. (expecting max 3-5 mb)
    on return, this json is getting loaded into the tree grid.

    when i am trying to load 1.5 mb of json data in the tree grid
    i am getting unresponsive script warning.in the firefox
    the moment i hit continue the tree gets loaded without taking any more time. its surprising to me.
    i thought after hitting the continue takes somemore time to load data.
    i increased the browser memory limit to max through Tools->Options->General. but did't help out.
    how can i handle this issue from sencha side if the problem is with browser?
    please help out me the best approach on this issue.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    1.5 MB of data is way too much to load at once. You need to minimize what you are sending to what you actually need.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •