Tree openAllItems for a very large xml having IE issues

Hi, I have a very large XML everything works but tree.openAllItems() will fail on IE, having Do you want to stop script? pop message, what other options so I have to work around. Thanks.

Code:

tree=new dhtmlXTreeObject(document.getElementById(‘treeboxbox_tree’),“100%”,“100%”,0);
tree.setImagePath(“…/dhtmlx/imgs/”);
tree.setOnClickHandler(tree_onclick);
tree.enableCheckBoxes(false);
tree.enableThreeStateCheckboxes(false);
tree.enableDragAndDrop(false);
tree.enableSmartXMLParsing(true);
tree.enableTreeImages(true);
tree.enableHighlighting(true);
tree.enableDistributedParsing(true,350,500);
tree.loadXML(“getHistoryTreeXML.jsp?ts=<%=thisTime%>”,function(){tree.loadOpenStates(‘treeboxbox_tree’)});
tree.attachEvent(“onXLS”, function(tree,id){showWaitImage();});
tree.attachEvent(“onXLE”, function(tree,id){hideWaitImage();});

Html:

»Open all

Hi,

You use enableSmartXMLParsing and enableDistributedParsing. So, problably the tree is rather big.

When you call openAllItems, all these features (I mean Smart Parsing ) are without effect - all nodes are opened at once. So, performance issue may occur.

Unfortunately, there is no way to solve this problem.