Sortable Table Update
It’s been almost a whole year since we last posted any real updates to WebFX. I finally got together and polished Sortable Table 1.1. I hope this update makes a few people satisfied because it makes it very easy to add custom sort types.
function parseUsDate( s )
{
var parts = s.split( "/" );
var d = new Date( 0 );
d.setYear( parts[2] );
d.setMonth( parts[0] - 1 );
d.setDate( parts[1] );
return d.valueOf();
}
SortableTable.prototype.addSortType( "UsDate", parseUsDate );
Place that in an external JS file and you can now sort by the very confusing US date format in your sortable tables.
February 17th, 2004 at 20:13
Dr Detlef Groth has built a sortable table framework using DHTML Behaviors:
http://goblet.molgen.mpg.de/moz-behaviors-example/findex.html