The most recent release of Scriptaculous offers this functionality.
Take a look at the tests/examples in the repository, notably:
http://dev.rubyonrails.org/browser/spinoffs/scriptaculous/test/
functional/sortable_tree_test.html
There is also some (minimal) documentation in the wiki, at:
http://wiki.script.aculo.us/scriptaculous/show/Sortable.create
TAG
On Jun 15, 2006, at 11:41 AM, Justin Garten wrote:
I've gone through Chad Fowler's recipe for creating a drag and drop
sortable list, and have been trying to extend this to a sortable
tree. Has anyone come up with or seen code which allows drag and
drop sorting (altering the position and parent_id variables of the
relevant objects) but for data in a nested tree rather than a list
form?
- Justin
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs