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

How can set multiple nodes to tree view control

Hi,

I am using syncfusion 5.102.1.47's tree view control. My requirement is to add multiple nodes to tree view control at different levels depending upon the dynamic data(not a static data).
I am arranging all the nodes in a tree view control by checking some conditions. The main problem is, it is time taking. To add nearly 15,000 nodes to a tree view control it is taking 2 minutes. How can i reduce the time?

other wise is there any way to add nodes collection to tree view control dynamically?


1 Reply

FS Fathima Shalini P Syncfusion Team February 12, 2009 06:54 AM UTC

Hi Sandiliya,

Thank you for your interest in Syncfusion Products.

While adding more than one node to the TreeViewAdv control, calling the BeginUpdate and EndUpdate method will improve performance of the control. And also setting SuspendExpandRecalculate property to true will also improve the performance of the TreeViewAdv. Please refer to the below online tutorial that illustrates this:

http://help.syncfusion.com/ug_71/toolswin/TreeViewPerformance.html

Please let me know if any concerns.

Regards,
Fathima


Loader.
Live Chat Icon For mobile
Up arrow icon