Quantcast
Channel: Implement ajax sortable lists with jQuery and Rails 3 - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Implement ajax sortable lists with jQuery and Rails 3

$
0
0

There are many similar questions but I can't find one that exactly meets my needs.

You'd think this is a very common problem and there should be a polished gem solutions out there.

I want to reorder list and save position of each item to the database with ajax very much like the to-do items in a list in Basecamp. Although it would be nice to be able to move items from one level to another in nested lists I don't really need that feature at all.

I'm using Rails 3.1, jQuery. It would make sense to integrate the solution with the sortable jQuery plugin but I'm open to any solutions.

If you don't know of any ready solutions, can you give me pointers on how to go about it.

My apps used to use the acts_as_category plugin but it's not being maintained and I have implemented all the other tree features manually.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images