Supreet
Supreet

Reputation: 13

Rails: " Draggable_elements" not working inside table elements

We are trying to implement a functionality in our ROR application such that we are able to drag and drop rows between different tables. We tried using Scriptaculous Drag and Drop method but it does not works inside the table tags.

Can you point us to other alternatives like JQuery etc which might be useful.

Thanks Supreet

Upvotes: 0

Views: 564

Answers (1)

robjmills
robjmills

Reputation: 18598

You can actually make sortables work within and between tables using scriptaculous. You just need to make sure that all draggable rows are within a tbody element and that you place the ID for the sortable on that.

Upvotes: 1

Related Questions