开发者

Treeview drag and drop

开发者 https://www.devze.com 2022-12-23 21:27 出处:网络
I\'m using the jQuery droppable/dragable to reorder a treeview (made up of ul/li items) I have no problems making aelement and dragging it into the tree

I'm using the jQuery droppable/dragable to reorder a treeview (made up of ul/li items)

I have no problems making a element and dragging it into the tree

When I define the

  • items to be draggable, the code doesn´t work any more (the items are classed as "droppables" but the drop event won´t run)

    开发者_如何转开发Isn't this supposed to be possible?


    I don't think it's possible to answer this question without your code and (if possible) a link to your development page.

    However if you want a tree view you should be using sortable instead of draggable/droppable.

    [Link removed because I can only paste one link!]

    OR, best of all, use a Tree plugin. This page links to the better ones.

    http://wiki.jqueryui.com/w/page/12138128/Tree

  • 0

    精彩评论

    暂无评论...
    验证码 换一张
    取 消

    关注公众号