Author: Christian Bach
Version: 2.0.5 (changelog)
Licence:
Dual licensed (just pick!)under MIT
or GPL licenses.
Please with sugar on top! Don't hotlink the tablesorter.js files. Download it and host it on your servers.
Update! New version!, and the tablesorter docs are now available in russian, head over to tablesorter.ru
Helping out! If you like tablesorter and you're feeling generous, take a look at my Amazon Wish List or make a donation.
Comments and love letters can be sent to: christian at tablesorter dot com.
Contents
Introduction
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. It has many useful features including:
- Multi-column sorting
- Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. Add your own easily
- 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
Demo
First Name | Last Name | Age | Total | Discount | Difference | Date |
---|---|---|---|---|---|---|
Peter | Parker | 28 | $9.99 | 20.9% | +12.1 | Jul 6, 2006 8:14 AM |
John | Hood | 33 | $19.99 | 25% | +12 | Dec 10, 2002 5:14 AM |
Clark | Kent | 18 | $15.89 | 44% | -26 | Jan 12, 2003 11:14 AM |
Bruce | Almighty | 45 | $153.19 | 44.7% | +77 | Jan 18, 2001 9:12 AM |
Bruce | Evans | 22 | $13.19 | 11% | -100.9 | Jan 18, 2007 9:12 AM |
Bruce | Evans | 22 | $13.19 | 11% | 0 | Jan 18, 2007 9:12 AM |