Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lost Legends on Aug 13, 2009 16:25
open dhtmlx forum
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
Answer posted by Alex (support) on Aug 14, 2009 01:05

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

tree.deleteChildItems(0);

tree.loadXML(..);