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(…);
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(…);