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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Deselect all nodes

Thread ID:





145655 Jul 2,2019 12:25 PM UTC Jul 3,2019 01:17 PM UTC JavaScript - EJ 2 2
Tags: TreeView
Asked On July 2, 2019 12:26 PM UTC

Hi, how can I deselect all nodes or an specific node? I tried to set the property node.isSelected= false for all nodes before refresh the tree, but the node continues selected. My tree configuration has the field: { ..., selected: 'isSelected' }.

Replied On July 3, 2019 01:07 PM UTC

Hi, I'm using the TreeView and not Accordion, I want to deselect the node of tree.

Tree with an selected(active) node (Before)


I solved, I just removed the css class 'e-active'.

Christopher Issac Sunder K [Syncfusion]
Replied On July 3, 2019 01:17 PM UTC

Hi Lucus, 

We regret for the inconvenience. Please ignore our previous post which is prepared for different support ticket. I have removed that update.  

We are glad to hear that you have found a solution to deselect the node. If you still need any assistance, please get back to us. 



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon