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 Unanswered: 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,318
    Answers
    3883
    Vote Rating
    1291
      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!

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

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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
  •