Easy sortable tables in TiddlyWiki.

The TableSortingPlugin allows you to sort the rows of a table by the data in any column, simply by clicking on the header for that column.

TableSortingPluginFor example, if you have a table listing the plugins installed in a TiddlyWiki, you can sort the table by author or plugin-size. Another example is a table that lists your movie collection — where you could sort the table by rating or genre — depending on what you are looking for.

Unlike existing solutions for sorting tables, the TableSortingPlugin is light-weight, easy to use, and future-proof. It also offers the ability to avoid sorting by specific columns, or to sort a table by default.

Feedback and suggestions are welcome as always.

Bookmark at: StumbleUpon | Digg | Del.icio.us | Dzone | Spurl | Furl | Reddit

4 comments ↓

#1 Phil Hawksworth on 11.28.07 at 12:42 pm

Great stuff, Saq.
I’ll be sure to have a play with this and expect that it will come in handy on my TeamTasks app for displaying views of the various Task lists.

While the example works nicely under Firefox, I notice that at the moment, it doesn’t work in Safari. Is that support planned?

Thanks!

#2 Dave Gifford on 11.28.07 at 12:59 pm

Ooh! This looks really exciting!

#3 FND on 11.28.07 at 1:42 pm

That’s one brilliant job, sir!
I know how much effort you’ve put into this, and it really was worth it!

#4 Saq on 11.29.07 at 8:51 pm

FND and Dave: Thank you for the kind words. Hope you guys find this useful.

Phil: Thanks for the heads up Phil, that was a bug which has since been fixed. For anyone that is interested, the problem was that Safari does not support tabletable.tHead.

Leave a Comment