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

Remote DataSource for TreeView

6 Answers 346 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Leonardo
Top achievements
Rank 1
Leonardo asked on 03 Jan 2012, 09:21 PM
I have a treeview attached to html construction <ul><li>..., this run ok, but I need change to remote datasource for change data dinamically, the problem is when I generated the JSON this not work. I need some example with to resolve this problem... (the kendo treeview example page not show that -  treeview with remote datasource)

Please help me !!!

Thanks in advance

6 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 04 Jan 2012, 09:01 AM
The treeview does not currently support binding to the dataSource (local or remote). This functionality is planned for the next release. You can work-around that by re-creating the whole treeview:

$("#treeview").remove();
$("<div id='treeview' />")
    .appendTo("#treeview-container")
    .kendoTreeView({
        dataSource: [ ... ]
    });


Greetings,
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!
0
Leonardo
Top achievements
Rank 1
answered on 04 Jan 2012, 12:25 PM
Thanks Alex this is a beautiful idea !!!. Joinning with use JQuey.getJson function on dataSource. Could be???
0
Christophla
Top achievements
Rank 1
answered on 19 Apr 2012, 10:20 PM
Seriously, about time.

Most of these controls are pretty limited without the ability to bind to dynamic data.
0
Allan
Top achievements
Rank 1
answered on 20 Apr 2012, 03:20 PM
Will a binding to a remote datasource for the TreeView be included in the Q2 2012 release? I really need it :-)
0
Jonathan
Top achievements
Rank 1
answered on 21 Apr 2012, 06:44 AM
I also need this.
0
Alex Gyoshev
Telerik team
answered on 21 Apr 2012, 09:04 AM
We are aware that this problem has a high priority, and we are currently researching how to approach it in the best possible way. It is scheduled for the Q2 release -- until then, use the provided work-around.

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
Leonardo
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Leonardo
Top achievements
Rank 1
Christophla
Top achievements
Rank 1
Allan
Top achievements
Rank 1
Jonathan
Top achievements
Rank 1
Share this question
or