Restore items default settings - dhtmlxTree

Is there a method to restore the items default setting (form the xml)?

After changing the items visual settings using the setItemImage(), setItemStyle() methods I want to restore the default.



You can try to use smartRefreshItem|smartRefreshBranch, which will load new XML data and update labels and images of existing items from it. Such command will not change styles assigned to items.�The only way to reset styles - full data reloading ( tree.deleteChildItems(0); tree.loadXML(url) )