This article tells you how to implement drag and drop for HTML tables in Javascript. You can download the source here and play with the demo here.