Search and Top Navigation
#2754 closed bug (wontfix)
Opened April 28, 2008 07:59PM UTC
Closed April 30, 2008 10:07AM UTC
Last modified May 24, 2008 03:39AM UTC
UI Sortable drag/drop does not create new nested lists
Reported by: | vlucas | Owned by: | paul |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.core | Version: | 1.2.3 |
Keywords: | sortable, nested lists | Cc: | |
Blocked by: | Blocking: |
Description
jQuery UI library does not include the ability to drag and drop items in a new nested list under an existing item as would be expected by the user. This is a bug rather than a feature because it is possible for the user to UN-nest all items, but it is NOT possible to RE-nest them in the same way.
Expected/desired functionality:
http://www.bernardopadua.com/nestedSortables/test/nested_sortable/
1. Can drag all items anywhere you want
2. You can place any item to be nested under any other existing item by moving it to the right of the item just under the item you want it to be nested under
Above example based on the old "interface" library for previous versions of jQuery.
Actual functionality:
http://dev.jquery.com/view/tags/ui/1.5b2/demos/ui.sortable.html
1. Can drag all nested items to top level (flat list) or at the same level as another nested item
2. Attempting to place items under another one does not work
Based on the newest version of jQuery using UI 1.5b2
We are working on a way to do this, featured in the treeview plugin that will come to UI in version 1.6. However, this feature will not make it into the core of the sortables, because it will decrease performance enourmously.