Drag and drop between tables

Drag and drop between tables

kthorngrenkthorngren Posts: 20,144Questions: 26Answers: 4,736
edited September 2018 in General

I'm running into the need to drag an drop between tables but didn't find working examples on the forum. At some point in the past I found an example of drag and drop between regular tables. Thought it would be useful so kept the link to the fiddle. I adapted the code to work with Datatable's APIs. In this example you can drag and drop between tables using the Name column.

https://jsbin.com/pogufut/edit?html,js,output

Ultimately I would like to combine this with RowReorder to allow for pairing rows between two tables and moving the rows between the two tables. Guess I have more work ahead of me :smile: If I get this working I'll post an update.

Let me know if there are suggestions for improvements.

Kevin

Replies

This discussion has been closed.