Published in Programming and Scripts on Friday, November 19th, 2004
Table sorting via javascript - an old but very useful link (?) brought back to life by necessity.
Well, I knew this function existed somewhere in the back of my head because I knew to search for it. It did the rounds some time ago but it was so easy and useful that I thought what the heck, post it again.
Stuart Langridge, a year ago, posted sorttable: Make all your tables sortable, a javascript function that unobtrusively makes your tables sortable. Simple, clean, just drop and go. Thanks Stuart!
Dig into other bits on his site:
Neat function, very well documented by Stuart. Thanks for the heads up Mike.
Anytime Jonathan!
Nice to see the increased posting on your blog, btw; makes up for those of us who've been slacking ;-)
Don't get too used to it. I probably won't be able to sustain it. :-(
Good stuff from one of the developers of my favourite image replacement trick, although his DOM-foolery should really come with a disclaimer: "All the above will directly contravene WCAG guideline 6.3".
Nice! Shame the first thing i test it on has rowspans and it gets munched :(
Woah, that so rocks! I'll think of this next time I use a table!
Comments and Feedback