[[PageOutline(2-5,Contents,pullout)]] = TableSorterPlugin == Description !TableSorterPlugin adds the [http://tablesorter.com/ tablesorter jQuery plugin] for turning HTML tables with THEAD and TBODY tags into a sortable table without page refreshes. == Bugs/Feature Requests Existing bugs and feature requests for TableSorterPlugin are [report:9?COMPONENT=TableSorterPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TableSorterPlugin&owner=psuter new ticket]. [[TicketQuery(component=TableSorterPlugin&group=type,format=progress)]] == Download Download the zipped source from [download:tablesorterplugin here]. == Source You can check out TableSorterPlugin from [http://trac-hacks.org/svn/tablesorterplugin here] using Subversion, or [source:tablesorterplugin browse the source] with Trac. == Example A screenshot with a table with sortable headings would look as follows: [[Image(tableSorterPlugin-screenshot.2.png,border=5)]] The tablesorter plugin requires a `THEAD` tag, which is not added to [trac:wiki:WikiFormatting#Tables normal wiki tables], so use [trac:wiki:WikiHtml WikiHtml] instead. The class `tablesorter` is also required: `{{{#!html` {{{
Last Name | First Name | Due | |
---|---|---|---|
Smith | John | jsmith@gmail.com | $50.00 |
Bach | Frank | fbach@yahoo.com | $50.00 |
Doe | Jason | jdoe@hotmail.com | $100.00 |
Conway | Tim | tconway@earthlink.net | $50.00 |