Table sort code working
Posted by mholmes on 29 Sep 2011 in Activity log
Wrote a simple table sort library in JavaScript, that does something similar to what the Adaptive DB table sort does, but which is much slimmer and faster because it simply decides whether a column is numeric or textual, and because (unlike the Adaptive DB tables) rows are sorted individually rather than in pairs. This should be a plug-and-play utility -- add the JS file to the header, and add the class "sortable" to any table, and it does the rest. Right now it's working on the list of ids and the contributor list, and I'll probably use it on the "index of the site" page, which has lots of little subsets of items.