Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal ul + vertical sub ul problem #29

Open
davidosullivan opened this issue May 26, 2012 · 5 comments
Open

Horizontal ul + vertical sub ul problem #29

davidosullivan opened this issue May 26, 2012 · 5 comments

Comments

@davidosullivan
Copy link

Is there anyway to make this work with lists that are displayed using a mixture of horizontal and vertical lists? Basically I am trying to make a standard dropdown menu sortable.

I set all the dropdowns to be visible and then want the user to be able to drag elements in and out of the toplevel and in and out of the dropdowns- exactly like your demo but with the top level displayed horizontally. jQ-ui sortable almost does this out of the box actually, you can sort the drop downs, elements in the drop downs and drag elements from one drop down to another, what you cant do is drag things from the drop down to the top level or drag a sub menu element to be the sub element of a top level that doesn't already have child elements- both of which yours does do- but I cant see a way to make it work with a horizontal top level.

This is jQ ui sortable and you can see its just about there but missing your features http://jsfiddle.net/Gdadu/22/

@mjsarfatti
Copy link
Owner

What I would do is to have each toplevel a separate nestedSortable (each connected to the others), and the toplevel items only a sortable. Let me know if it works!

@boukrou
Copy link

boukrou commented Nov 6, 2012

I've been trying to do something like this too, using your plugin or only sortable, trying your idea, but for the moment without success.

My best shot is at : http://jsfiddle.net/Gdadu/30/
Yet, placeholders placement remains weird... I really could use any suggestion !

@mjsarfatti
Copy link
Owner

If you are still reading this, can you try with the new 2.0 version, and protectRoot: true?

@alexiswbr
Copy link

Awesome, I was looking for this !
Thank you

@sanjukandgal
Copy link

I am trying something like parent and child nodes can be movable anywhere in the list. like it behaves in vertical list. But It is not as smooth as in Vertical List.
Please help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants