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

Deselect all nodes

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' }.

2 Replies

LU Lucas 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)


After


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



CI Christopher Issac Sunder K Syncfusion Team 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. 

Thanks,
Christo 


Loader.
Up arrow icon