Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82037

Drag and drop between tables

$
0
0

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


Viewing all articles
Browse latest Browse all 82037

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>