6 Sep 2012 9:55 AM #1
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.
17 Sep 2012 8:31 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
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.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.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.