Looks promising but I'm having a little problem with numeric sorting.

Here's my invocation and the table header.

$(function() { $("#listclubs").tablesorter(); });

<thead><tr>
    <th class="{sorter:'integer'}">ID#</th>
    <th>Club Name</th>
    <th>Area</th>
    <th>Type</th>
    <th>Charter</th>
</tr></thead>

When the page first appears it is sorted the way I wrote it but if I
click on the first column it does an alpha sort ('1055512' comes before
'1312' and '1420').


Yeah, you need John's metadata plugin to allow in-line configuration, i
totally forgot to mention that.

You can  grab it from here:
http://jquery.com/dev/svn/trunk/plugins/metadata/lib/jQuery/metadata.js?format=txt


Also, is it possible to apply a style to the table based on which column
is sorted?


Not at the moment i will see if i have the time to whip up a widget that
could support that.

And one more thing. I'm using cluetip.js on that first column and it no
longer works.


It should work, I'm not familiar  with  the cluetip plugin, but I'm not
removing any thing from the table.

Reply via email to