tree.setSubChecked(item, 0); problem on large trees

Hi
realWorldTree.setSubChecked(item, 0);
This looks similar to a bug i found a few weeks ago. When i check the root item in a tree i call the method tree.setSubChecked(item, 0); method. This checks the items ok but i get the following javascript error: “sNode.htmlNode.childNodes is undefined” on line 3404 dhtmlxtree.js.

This only happens on large datasets.

I am using a revised version 3 you sent me which fixed another larger dataset problem affecting radio button selection.

Thanks
Wimac

Please attach the complete demo.