jQuery Nested Sortable - Move LI elements within all available UL's

后端 未结 4 550
悲哀的现实
悲哀的现实 2020-12-23 17:53

I have the following code which works although it runs quite slowly I feel. What I want to do is allow

  • \'s to be moved freely under existing &l
  • 4条回答
    •  时光取名叫无心
      2020-12-23 18:14

      Most likely the jQuery UI library's sortable functionality isn't that configurable (it's very rudimentary, meant for sorting lists one level deep). You'd be better off simply using one of the tree plug-ins that support drag and drop.

      The jQuery UI tree widget is in development, but you can use one of the following plugins:

      http://www.jstree.com/

      http://abeautifulsite.net/notebook/58

      http://news.kg/wp-content/uploads/tree/

      http://bassistance.de/jquery-plugins/jquery-plugin-treeview/

    提交回复
    热议问题