Jeff Davidson
Jeff Davidson

Reputation: 1929

Drag and drop table rows

I'm trying to figure out how I can make the rows drag and droppable that way it will update the database with the new sort order.

http://jsfiddle.net/SwQLF/

This is dealing with the dataTables plugin though.

Upvotes: 2

Views: 5489

Answers (3)

DitherSky
DitherSky

Reputation: 1110

Now there is row reordering addon for DataTables to reorder rows via drag&drop with corresponding updates and callbacks.

Upvotes: 1

kirb
kirb

Reputation: 2049

You can use the answer to this question in your situation, just ignore the information about resizable.

Ad@m

Upvotes: 1

red
red

Reputation: 3233

jQueryUI got Draggable and Droppable types.

Demos:

This should help you create what you need.

Upvotes: 1

Related Questions