Problem with drag and drop in treeview

1 posts, 0 answers
  1. Janu
    Janu avatar
    2 posts
    Member since:
    Aug 2012

    Posted 25 Aug 2012 Link to this post

    Hi,

    I am using two kendoui treeviews

    when i am using drag and  drop selected item from left-treeview to right-treeview and right-treeview to left-treeview, the dropped item is showing like undefined,

    As shown in uploaded tag please once check it,

    here i am displaying the parent/child items  dynamically.

    In treeview script i have written code in this way:-


    var
    treeview1 = $('#treeview-left').kendoTreeView({

    select: onSelect,

     

    checkboxTemplate: kendo.template($(

    "#treeview-checkbox-template").html()),

    dragAndDrop: true,

    dataSource: parent,

    expanded: true,

    dataTextField: ["parentName", "childName"]
    });

    So can you please provide me solution where i have done wrong.

    Thanks in Advance.

     

     

     

     

     

     

     

     

     


Back to Top