I'm a new member to this group, and would appreciate some help with
using Sortable in Rails.

How do I generate a sortable tree like this with RoR?

Specifically, the ability to drag a section and its children to
another position.

I'm using this code currently:

  <%= sortable_element("articles", :url => "sort", :constraint
=> :vertical, :tree => true) %>

And with a tree rendered like this:

- Section 1
    - article 1
    - article 2
    - article 3
- Section 2
    - article 4
- Section 3
    - article 5
    - article 6

If I drag on Section 3, only Section 3 moves, article 5 & 6 don't go
along with it. Is there any trick?


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to