Drag and Drop table columns for an HTML table

Just add class=sortable to a table tag and its column headers automatically support click to sort. Pretty slick. Once you have the JavaScript in place, you can simply add a class="draggable", and you can even work with both via class="draggable sortable".

Demo
sorttable.js
dragable.js

0 comments: