Interdum stultus opportuna loquitur...

Wednesday, August 24, 2005

SortRant: More Beautiful Than It Looks

Note - from June 24th 2009, this blog has migrated from Blogger to a self-hosted version. Click here to go straight there.

This is just a test of a super-ginchy table sorting tool that ought to be lightning fast. It might be a bit boring to be able to sort the columns of this particular table by clicking on a column title, but hey - what if the columns contained something interesting??? (Wait until tonight's OzRant for that.)

Sector Indices
CodeGICS SectorClose+/-%Volume
XHJHealthcare576527.80.48%13.68m
XUJUtilities5197.3-0.5-0.01%3.53m
XSJConsumer Staples5786.6-9.5-0.16%28.67m
XPJProperty Trusts1844-5.3-0.29%57.33m
XNJIndustrials5346.3-18.1-0.34%82.45m
XIJInformation Technology440.8-1.8-0.41%7.37m
XDJConsumer Discretionary2333-10.1-0.43%31.37m
XFJFinancials5162.3-31.5-0.61%120.13m
XXJASX200 Financials ex Property Trusts5257.3-36.9-0.7%67.82m
XTJTelecommunications1692.5-13-0.76%40.65m
XMJMaterials8144.9-91.9-1.12%157.57m
XEJEnergy10085.4-181.4-1.77%18.16m

Update ... Oh yeah, it's fast alright, baby!!.

Now I know that the bottom border screws up when you sort - that's a CSS styling cockup on my behalf and I will fix it before tonight. I also realise that if you look in the source I've cheated by making the top table row a separate table - it should really just be a heading anyhow, with the heading styled approproately in the CSS - same with the underlines on the table headers - I hate them and they will change.

But overall am I happy about the effect? You bet your ass. (If you don't have an ass - i.e., if you are bereft of donkeys - bet something else).