1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    6
    Vote Rating
    0
    ravi_pendyala is on a distinguished road

      0  

    Default Unanswered: problem with loading tree grid data

    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,073
    Answers
    3500
    Vote Rating
    854
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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.

Thread Participants: 1

Tags for this Thread