Sort Multiple Columns with Tablesorter jQuery Plugin
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 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
- Small code size (7,4kb packed)
*** You can sort multiple columns simultaneously by holding down the shift key and clicking a second, third or even fourth column header.
Requirements: jQuery
Demo: http://tablesorter.com/
License: GPL and MIT License
1 Comment