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
close icon

TreeView

Hi,
I have a problem concerning TreeView, I've got a database table that looks like this:
id | parentsId | treeNodeText
is there an easy way for building the tree automatically from such data?

THX in advance.

1 Reply

SK Santhosh Kumar A Syncfusion Team November 3, 2009 02:20 PM UTC

Hi Pawel,

Thanks for using Syncfusion MVC Products.

We have revamped our ASP.NET MVC Tree control, which uses the ul-li elements in view to be rendered as Tree control using our extension. Hence it is required to create html list elements with id as the target id to the treeview.

Please refer the sample in the attachment.

Please let me know if you have any queries.

Best Regards,
Santhosh Kumar.A



sample treeview_1a492176.zip

Loader.
Live Chat Icon For mobile
Up arrow icon