Script debugging error when loading grid

Hi,



I am using professional dhtml xgrid and tree in my application,

when I am trying to load tree and grid ,some times I am getting the following javascript error message:



“Stop running this script, a script on this page is causing IE to run slowly. If it continues to run, your computer may be unresponsive.”



Let me know how to solve the above problem?



/Raj



Such message can occur when you loading a really big dataset.�The problem may be resolved by using special modes of grid and tree, which oriented on big coutn of items|rowsPlease check�� � � �http://dhtmlx.com/docs/products/dhtmlxGrid/samples/loading_big_datasets/?un=1219932384000� � � �http://dhtmlx.com/docs/products/dhtmlxTree/samples/loading_processing_data/pro_smart_rendering.html?un=1219932463000� � � �http://dhtmlx.com/docs/products/dhtmlxTree/samples/loading_processing_data/pro_smart_parsing.html?un=1219932546000� � � �http://dhtmlx.com/docs/products/dhtmlxTree/samples/loading_processing_data/tree_dyn_loading.html?un=1219932569000Basically it is recommend to use� � smartXMLParsing mode for huge tree� � smartRendering mode for huge grid

Hi,
I am already using
smartXMLParsing mode for huge tree
smartRendering mode for huge grid,
still I am getting the below error message:

“Stop running this script, a script on this page is causing IE to run
slowly. If it continues to run, your computer may be unresponsive.”
,

Please suggest me how to solve the issue?

/Raj

Which amout of data is loaded in problematic case?You can try to use�� � � � tree.enableDistributedParsingin case of dhtmlxtree, but grid in SRND mode must load pretty fast event for big datasets, there is no way for additional speed mprovement

I am loading almost 11000 elements in tree and 1100 rows in grid,
There is no problem with grid, but I am facing a problem while loading the tree.

In tree building I am able to build the tree first time, On that tree I am trying to load tree with different set of elements, second time I am getting the javascript error message.

The tree contains 3000 root elements.

I tried to use tree.enableDistributedParsing but it is taking long time compare to smartXMLParsing mode.

So can you suggest me, how to solve the problem?


The key problem is a big count of root items, smartXMLParsing works well with deep hierarchy, but big count of roots is a weak place.�Starting dhtmlxtree 1.6, tree can be loaded in SRND mode� � � � � � � � dhtmlx.com/docs/products/dhtmlxT … 3640000you can try to use it instead of existing one , it must encrease loading speed, but in such mode tree can operate only with visible items, so it seriosly limit functionality which can be used in tree.�

You are saying that both(SRND, smartXMLParsing ) are not supports the functionality which I want,
so can you please suggest how to solve the script error, can you please give me any work around for the issue?

to solve the script errorTechnically it is not an error, with is warning of browser, which informs that script works too long.�Loading such big tree requires a lot of resources, if even in smartXMLParsing mode it not fast enoug - I don’t see any other ways to improve loading speed.�