CIChristopher Issac Sunder K Syncfusion Team February 5, 2019 11:54 AM UTC
Thank you for contacting Syncfusion support.
In our TreeView component, you can use removeNodes method to remove single, multiple or all the tree nodes. For removing single/ multiple nodes you can either pass the tree id or tree node element in the removeNodes method. For removing all the nodes, you can pass the treeview component’s root ul element. We have prepared a sample for your reference. In this sample, we have removed a single node and the entire tree nodes on separate button click. Please check below code block and sample,
var treeObj = document.getElementById('tree').ej2_instances;