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

Constructing HierarchicalDataSource from different sources

1 Answer 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 12 Mar 2013, 09:24 PM
Hi,
I am new to KendoUI and I would like to achieve something similar to what is accomplished in the odata-binding.html sample. The difference is that i would like to use a local datasource instead of a odata source for the second datasource (the product datasource in the sample). Is that possible or do I have to use odata for all datasources?
Thanks,
Marc

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 14 Mar 2013, 08:16 AM
Hello Marc,

Please refer to the binding to multiple service end-points help topic. It shows how to bind the datasource to two end-points (on different servers), but the idea is the same for using local data (you might need to specify transport.read as a function so that you get the correct data depending on the node that is expanded).

Kind regards,
Alex Gyoshev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
TreeView
Asked by
Marc
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or