I ran into the same problem. I just wrote my own parser. It may not be
as efficient as it could be though. I'm no expert. Still, here it is:

        $.tablesorter.addParser({
                id: "commaNum",
                is: function(s) {
                        return false;
                },
                format: function(s) {
                        return s.replace(/,/g,'');
                },
                type: 'numeric'
        });

On Nov 6, 2007 12:14 PM, rsmolkin <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Does anyone know how to get the Tablesorter to properly sort numbers
> some of which have a comma separating the thousands.
>
> What I mean is I have a range of numbers anywhere from 0 to 10,000,
> and I want 958 to be above 1,104 but by default it's not.
>
> Any suggestions appreciaged.
>
> Thanks,
> -Roman
>
>

Reply via email to