Sortable tableLicense

This JavaScript sortable html table code can be used to convert tables in ordinary HTML into sortable ones.

This JavaScript sortable html table code can be used to convert tables in ordinary HTML into sortable ones. This script is unobtrusive. No additional coding is necessary. All you need to do is put header (sorting) row in THEAD section, table body rows in TBODY section, footer rows (if you need them) in TFOOT section and give your table an ID field, include the webtoolkit.sortabletable.js file and create SortableTable() object after each table.

Tested in IE5.0+, OP8.0+, FF1.0+

Source code for index.html


Source code for webtoolkit.sortabletable.js