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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Treeview persist data example is broken

Thread ID:

Created:

Updated:

Platform:

Replies:

124189 May 24,2016 07:17 AM UTC May 25,2016 10:34 AM UTC JavaScript 1
loading
Tags: ejTreeView
Wouter
Asked On May 24, 2016 07:17 AM UTC

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.

Piramanayagam Ramakrishnan [Syncfusion]
Replied On 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,   
   
[script]   
 
function onRemoveNode() { 
    if (treeview.model) 
        treeview.removeNode(treeview.getSelectedNode()); 
} 
   
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.    
   
Regards,   
Piramanayagam R  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;