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

TreeView with variant remote hierarchical datasource

2 Answers 61 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 19 Feb 2013, 02:47 PM
Can the data of a Node contain the datasource that should be used to obtain its children ?

Consider a complicated heterogeneous environment. 
Some level in a tree has
Item-1 type X
Item-2 type X
Item-3 type Y
Item-4 type Z
Item-5 type A

When a node on this level is expanded, the type will be used to select the data source
Case X: Use backend table V_NEW_X 
Case Y: Use dynamic query constructed based on ui fields on page
Case Z: Use items the server scrapes from black box legacy webpage
Case A: Use static array in page

Thanks,
Richard


2 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 21 Feb 2013, 04:01 PM
Hello Richard,

I am not sure I understand your case. You cannot use different dataSources for the different nodes on the same level of the hierarchy.

Could you please elaborate and see if we can help?

Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Richard
Top achievements
Rank 1
answered on 21 Feb 2013, 09:31 PM
Petur:

I guess my concern was more about the having different dataSources for the children of items in a group.
Regardless, it's a incomplete thought experiment that can be disregarded.

Richard
Tags
TreeView
Asked by
Richard
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Richard
Top achievements
Rank 1
Share this question
or