Drag & Drop issues in TreeView

2 posts, 0 answers
  1. Igor
    Igor avatar
    3 posts
    Member since:
    Sep 2012

    Posted 12 Sep 2012 Link to this post

    Hello, I am having some issues with TreeView that I need help resolving:

    Issue #1: 

    Below code works, and sprites show up, until you drag an item. After that <span> tags get stripped.
    <ul id="hosts">
        <li id="host1"><span class="maas-sprite server"></span>host1</li>
        <li id="host2"><span class="maas-sprite server"></span>host2</li>
        <li id="host3"><span class="maas-sprite server"></span>host3</li>
    </ul>
      
    $('#hosts').kendoTreeView({
            dragAndDrop: true,
    });


    Issue #2:

    When moving last item from one TreeView to another, it is impossible to drag anything back.

    How do i fix this?? 

  2. Igor
    Igor avatar
    3 posts
    Member since:
    Sep 2012

    Posted 13 Sep 2012 Link to this post

    Ok, I solved issue #1 by using "spriteCssClass" property in my data source.
    But i still havent solved the issue #2 with being unable to drag elements back into a now empty treeview. 
Back to Top