How can i simply reload the tree content?

how can one simply reload a whole tree from xml without reloading the whole webpage?

there is no “clearAll” like in grid


You can use deleteChildItems(itemId) method instead of clearAll:


tree.deleteChildItems(0);


tree.loadXML(…);