I'm loving the tablesorter plugin, everything works splendidly except I can't get a column to sort dates.
Here's the init function I'm using to: - set the two CSS classes for the active TH, - disable sorting on the first column, - sort the 5th column by date, - force the first column sort onload, and - adding the Zebra rows widget. $("#sorttable").tablesorter( {cssAsc:"sortasc",cssDesc:"sortdesc", headers: {0: {sorter: false}, 4: {sorter: "date"}}, sortList: [[1,0]], widgets: ['zebra']} ); All of these work except the date sorting. I'm using the same date format used in the example on tablesorter.com and I've tried all the different ways to apply it that I can think of or that I've seen here in discussions. There's a great variety of examples, including putting '{sorter: "date"}' as a class in the TH! I was using JQuery 1.2 but the Zebra plugin seems to have a problem under 1.2 so I'm using an earlier version. I must be missing something as I'm not normally this clueless but it just won't work for me. Here's an example of the table I'm using: <table id="#sorttable"> <thead> <tr> <th width="7%" class="nosort"> </th> <th width="20%">Initiative</th> <th width="18%">Lead Agency </th> <th width="40%">Description</th> <th width="15%">Last Updated </th> </tr> </thead> <tbody> <tr> <td valign="top"> # Edit </td> <td valign="top"> view.php?id=AAAA A Name of the Initiative </td> <td valign="top">Organization name</td> <td valign="top">Promoting healthy lifestyles...</td> <td valign="top">Apr 24, 2007 </td> </tr> <tr> <td valign="top"> # Edit </td> <td valign="top"> view.php?id=XXXX B Name of the Initiative </td> <td valign="top">Organization name</td> <td valign="top">A program designed...</td> <td valign="top">Jul 21, 2007 </td> </tr> etc Any advice gratefully received, thanks! -- View this message in context: http://www.nabble.com/TableSorter-properties-tf4445562s15494.html#a12684633 Sent from the JQuery mailing list archive at Nabble.com.