-
Notifications
You must be signed in to change notification settings - Fork 159
Support for drag'n'drop #35
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
Comments
For what it's worth, I will be making a pass at this and a couple other alternative widgets for ordering models. (I know this is a really... really old issue).
|
@derek-adair quite old, but still wanted 👍 |
I made a quick hack to allow drag'n'drop in the admin by extending the https://gist.github.com/devsnd/38b9d4ff573a0611a87f10ab3042db45 Just use It requires the browser to support HTML5 Drag'n'Drop. It's quick and dirty, but it also just works ™ To change item order, just drag the row over another row. The dragged row will then be placed above the row it has been dragged on. |
The above hack works like a charm! Added some comments on the gist for anyone looking to implement this. |
anyone have it working with a current version? |
I think the concept update the order of all objects not suitable at the current for drag and drop. How about add the lexorank alg for drag-n-drop concept |
Is it planned to add optional support for dragging and dropping rows, e.g. in an inline admin form?
It would probably be possible to use Grappelli's inline sortables with an OrderedModel.
The text was updated successfully, but these errors were encountered: