Delete all items in a dhtmlxTree

Hi,



Is there a way by which i can delete all the items in the dhtmlxTree.

Instead of looping and deleting each item i want to delete all items at once.



Thanks,

Huzefa

tree.deleteChildItems(0);