Remote DataSource for TreeView

Thread is closed for posting
7 posts, 0 answers
  1. Leonardo
    Leonardo avatar
    3 posts
    Member since:
    Sep 2011

    Posted 03 Jan 2012 Link to this post

    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
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 04 Jan 2012 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Leonardo
    Leonardo avatar
    3 posts
    Member since:
    Sep 2011

    Posted 04 Jan 2012 Link to this post

    Thanks Alex this is a beautiful idea !!!. Joinning with use JQuey.getJson function on dataSource. Could be???
  5. Christophla
    Christophla avatar
    28 posts
    Member since:
    Jul 2012

    Posted 19 Apr 2012 Link to this post

    Seriously, about time.

    Most of these controls are pretty limited without the ability to bind to dynamic data.
  6. Allan
    Allan avatar
    5 posts
    Member since:
    Dec 2011

    Posted 20 Apr 2012 Link to this post

    Will a binding to a remote datasource for the TreeView be included in the Q2 2012 release? I really need it :-)
  7. Jonathan
    Jonathan avatar
    57 posts
    Member since:
    Jun 2012

    Posted 21 Apr 2012 Link to this post

    I also need this.
  8. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 21 Apr 2012 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready