We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Treeview persist data example is broken

The following section links to a broken example: http://help.syncfusion.com/js/treeview/how-to#persist-updated-data-after-edit-add-and-remove-node

For instance, the 'remove node' button doesnt work.

1 Reply

PR Piramanayagam Ramakrishnan Syncfusion Team May 25, 2016 10:34 AM UTC

Hi Wouter,   
Thanks for contacting Syncfusion support.   
We have analysed your query. We would like you to inform that, in the showcased sample “remove node” button is used to remove the previously added node in TreeView control.   
If you want to remove the selected node, then we need to pass the selected “node” to “removeNode” method. Please refer the below code sample,   
function onRemoveNode() { 
    if (treeview.model) 
We have live demo sample for your requirement. Please refer the below link:   
In this sample, we have removed the selected node of TreeView control while we click on the remove button.   
Please let us know whether the provided sample is helpful in achieving your requirement. If not, get back to us with more information.    
Piramanayagam R  

Live Chat Icon For mobile
Up arrow icon