banner design

tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes.

tablesorter can successfully parse and sort many types of data including linked data in a cell.

Using tableSorter, you can have custom headers, sorting classes and row striping features.

jQuery Sort Table

How to use tableSorter?

The simplest usage is like below for a div with id value equals "simple":

<script>
$(document).ready(function() {
    $(#simple).tableSorter();
});
</script>

Some features of tablesorter:

  • Multi-column sorting
  • Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time.
  • Support for ROWSPAN and COLSPAN on TH elements
  • Support secondary "hidden" sorting (e.g., maintain alphabetical sort when sorting on other criteria)
  • Extensibility via widget system
  • Cross-browser: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+
  • Small code size