Table Sort

Read more and download "Table Sort"

At a glance...

- Plays nicely with the JavaScript global namespace (the script creates and reuses only one JavaScript object)
- The new script sorts (on average - based on my very non-scientific calculations), 5 times faster than its predecessor
- The plug-in architecture makes writing custom sort functions a breeze
- The script can now highlight both alternate rows and full columns on a table by table basis.
- Like its predecessor, the script is fully keyboard accessible
- The script can correctly determine a columns datatype should a datatype not be explicitly defined
- The script is smart enough not to sort columns containing identical data
- Sort routines can now be initiated using JavaScript
- Tables can be automatically sorted on a column of your choice
- Before-sort and after-sort callback functions can now be defined for individual tables
- The script can now "reverse sort" onload (thanks to Parag)




Web 2.0 Box Generator


Play with this script by changing the html bellow. Submit your changes by clicking on this bar. Refresh the page to reset changes.
Play with this script by changing the html above. Submit your changes by clicking on this bar. Refresh the page to reset changes.

Comment on this example

Name
Url
Comment
Captcha
 

 

1
Fern
2009-06-20 00:19:34
hi..i'm having a problem in sorting..i didn't find other sorttable script to 'not to sort null values/blank cell'...i mean i want rows with null values to always stay at the table bottom when sorted... thanks for the great script..

2
Fern
2009-06-19 02:05:14
nice script..:-)...but it would be better if null values should always stay on the table bottom when sorted...

3
Edo_infokom@yahoo.com
2009-01-02 03:50:51
that's was great

4
Dan
2008-11-25 07:48:51
Rank column is set to sortable-keep. I didn't look into the javascript but i think the example works as intended (it keeps the rank)

5
Captain Obvious
2008-11-21 11:28:41
Oh, by the way, Sort by rank isn't working!

6
Goege
2008-11-20 17:15:29
I love this sortable table script. Thank you very much.

7
Ryan Couser
2008-09-19 08:35:53
Rank column will work correctly if you change the to numeric like so class="sortable-numeric fd-column-0">

8
Adriaan Nel
2008-09-01 12:26:06
The rank column doesn't sort correctly, I get it in this order: 3,1,11,36,14,37,46,33 It's really really bad if the provided demo doesn't work as expected...

9
Vish
2008-07-17 12:50:57
Thanks for woderful script

10
Óskar
2008-01-25 09:28:24
This is a great script :) Only I have a question about non-english characters, is there a way to enable unicode or whatever it is called :)

11
Marauder
2008-01-04 07:01:35
sort by rank doesnt work

12
Boxer Dog Sale
2007-10-06 00:27:10
I have just found an interesting forum on this theme

13
DB
2007-09-15 06:27:08
Hi, TableSort looks really good. Is there a way of re-ranking each row after sorting using another column, Like Table Organize does?

14
Orxkfggyzz
2007-06-18 22:34:15
Hello! Good Site! Thanks you! drdrqngnqdrt