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

GetNode and updateNode methods don´t work unless treeview is expanded

Thread ID:





141082 Nov 22,2018 03:59 PM UTC Nov 23,2018 07:24 AM UTC Angular - EJ 2 1
Tags: Treeview
Jon Andoni
Asked On November 22, 2018 04:02 PM UTC


I´m trying to use getNode and updateNode methods but unless the nodes that I´m typing are expanded this methods don´t work. Are this the natural behaviours of the methods?


Silambarasan I [Syncfusion]
Replied On November 23, 2018 07:24 AM UTC

Hi Jon Andoni, 
Thank you for contacting Syncfusion support. 
We have looked into the reported query “getNode & updateNode methods don’t work unless parent node is not expanded” and we would let you know that as per our current behavior, our TreeView component render based on the load-on-demand concepts. So, the child nodes are rendered only on demand i.e. on expanding node by clicking expand icon or double-clicking parent node. 
For your scenario, you have tried to get or update the node which is not rendered in TreeView. So, we suggest you to perform your action after node expanded by using client-side event. 
However, we have already planned to provide the option for disable the load-on-demand in TreeView. We have considered this as a feature and added it into our feature request list. This will be estimated to be available in our Essential Studio 2018 Volume 4 release which is expected to be rolled out in the month of December, 2018. 


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