dhtmlxTreeGrid-reload Treegrid

my codes here:
-----------------------------------------------------------------
mygrid = new dhtmlXGridObject(‘a_gridbox’);
mygrid.setImagePath(“imgs/”);
mygrid.loadXML(“1.xml”);


mygrid.clearAll();
mygrid.loadXML(“2.xml”) ;
-----------------------------------------------------
if both 1.xml and 2.xml has tree type in xml head definition as following, there will be a mistake “stock overflow”. How can I solve this?


List





Please provide info about used version|build of dhtmlxTreeGrid.
The latest build of dhtmlxTreeGrid has few special fixes related to deleting elements in treeGrid control, which cover your problem as well - fixes will be available as part of oncoming build.

If you need fix ASAP - please contact as at dhtmlx@scand.com and provide you customer number.