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

Issue with ejs-treeview node expanding

Thread ID:





140646 Oct 30,2018 03:02 PM UTC Nov 2,2018 02:31 AM UTC Angular - EJ 2 1
Tags: Treeview
Amit Potdar
Asked On October 30, 2018 03:02 PM UTC

I am facing an issue with ejs-treeview node expanding.
After adding the items to tree view dataSource the node expanding is not working on fist click.
we need to click the node twice to get it expanded.

You can find the sample code at below link.

Christopher Issac Sunder K [Syncfusion]
Replied On November 2, 2018 02:31 AM UTC

Hi Amit,  
Thank you for contacting Syncfusion support.  
We have checked your provided sample and we can reproduce your reported issue “after adding items to items to dataSource, updated data values not refreshed” in TreeView. If we update the datasource, it will update the data alone but not refreshed in TreeView. Based on this, our TreeView component works for manually call the refresh method (For first time datasource not updated in tree). Currently, we don’t have provided the pipeline support (“Update the TreeView based on updated data”) for TreeView component.   
However, 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 Service Pack1 release which is expected to be rolled out in the month of January, 2019.  
Meanwhile, you can rebind the dataSource for TreeView using fields property to resolve it as a workaround solution. In the below sample, we have updated the entire dataSource with defined expanded property to expand it. Please refer the below sample link.  
Could you please check the above sample and get back to us if you need any further assistance? 



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