dhxTree:How can i clear the data befor dhxTree.parse()


#1

dhxTree:How can i clear the data befor dhxTree.parse()
Is it have methods like “clearAll”?


#2

You may try to call the deleteItem() method for the parent node of your dhtmlxTree:
https://docs.dhtmlx.com/api__dhtmlxtree_deleteitem.html

myTree.deleteItem(0)