wiki:TableSorterPlugin

Version 18 (modified by figaro, 16 months ago) (diff)

Update link

Sort tables by clicking on headings

Description

This plugin allows you to sort tables on your Trac wiki or ticket pages by clicking on the column headings. It uses the tablesorter jQuery plugin for making wiki tables sortable.

This plugin is a wrapper around the third-party Javascript library jquery.tablesorter, that is dual licensed under the MIT and GPL licenses.

This is standard table wiki formatting:

||= Last Name =||= First Name =||= Email =||= 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 ||

Without this plugin it would be shown like this:

Last Name First Name Email Due
Smith John jsmith@… $50.00
Bach Frank fbach@… $50.00
Doe Jason jdoe@… $100.00
Conway Tim tconway@… $50.00

With this plugin the table is sortable by clicking the headings:

Example screenshot

Bugs/Feature Requests

Existing bugs and feature requests for TableSorterPlugin are here.

If you have any issues, create a new ticket.

defect

1 / 1

enhancement

1 / 2

task

1 / 1

Download

Download the zipped source from here.

Source

You can check out TableSorterPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

ChangeLog macro failed
No node tablesorterplugin at revision 5494

Author/Contributors

Author: psuter
Maintainer: Peter Suter
Contributors:

Attachments (2)

Download all attachments as: .zip