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
Drag and Drop table columns for an HTML table
Labels: HTML
Subscribe to:
0 comments:
Post a Comment