1. SortTable instructions
SortTable
version 2
7th April 2007
Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
Instructions:
Download this file
Add
to your HTML
Add class="sortable" to any table you'd like to make sortable
Click on the headers to sort
Thanks to many, many people for contributions and suggestions.
Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
This basically means: do what you want with it.
Usage: Add CSS to the table to be sorted, such as
By default, the sorting function will be added to all columns. For columns that do not need to be sorted, you can add CSS: "sorttable_nosort", such as |
2. Update instructions
Update:
version 2.1
9th Mar 2009
Hopesoft , http://www.51ajax.com/blog/
Instructions:
1. Add Chinese sorting
2. Add the function of specifying different css styles for each row (such as inconsistent background colors of odd and even rows) Usage: Add attributes to the table where the header is to be floated, such as
3. Add header floating function (support multiple tables on the same page, such as tables under different Tab labels)