具有可排序的jQuery treeview [英] jQuery treeview with sortable

查看:84
本文介绍了具有可排序的jQuery treeview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是想知道是否有人知道如何使bassistance树状视图插件与jQuery UI的sortable插件一起使用?特别是在能够将元素从其嵌套ul拖放到父ul或相反的方面.另外两个要求是我有能力防止拖放到指定的元素上(例如,带有class ="no-drop"的元素),以及在drop事件之后引用函数的能力.

I was just wondering if anyone knows of any way to get the bassistance treeview plugin to work with jQuery UI's sortable plugin? Particularly in terms of being able to drag and drop the element from it's nested ul to the parent ul or vice versa. Two other requirements are that I have the ability to prevent dropping onto specified elements (for example: element with class="no-drop"), and the ability to reference a function after the drop event.

如果使用这些插件没有真正可行的方法,那么有人碰巧知道另一个插件吗?

If there is no real feasible way of doing this with those plugins, does anyone happen to know of another plugin?

亲切的问候, 雷米

推荐答案

我确实遇到了同样的问题,请查看嵌套可排序.可能为时已晚,但可能对以后的其他人有所帮助.

I did have the same problem, have a look at nested sortable. It probably is too late but might be helpful for others later.

这篇关于具有可排序的jQuery treeview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆