This is a migrated thread and some comments may be shown as answers.

Binding Treeview from datatable

1 Answer 193 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
cu
Top achievements
Rank 1
cu asked on 26 Feb 2019, 03:52 AM
How can i binding treeview from datatable?? Please help!

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 27 Feb 2019, 02:09 PM
Hello Cu,

In general, the Treeview does not support a direct binding to DataTable object from SQL. The widget expects a collection of objects to be passed to its DataSource instead. Refer to the following resource that demonstrates how to bind data to the TreeView:


Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TreeView
Asked by
cu
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or