[jQuery] Re: need to sort european data in tabledsorter plugin

2008-09-24 Thread hcvitto
ok thanks a lot...your code was working and it was just a fault of mine in writing the date!! Thanks again!! Vitto On 24 Set, 16:00, MorningZ <[EMAIL PROTECTED]> wrote: > Working example of above: > > http://paste.pocoo.org/show/86103/

[jQuery] Re: need to sort european data in tabledsorter plugin

2008-09-24 Thread MorningZ
Working example of above: http://paste.pocoo.org/show/86103/

[jQuery] Re: need to sort european data in tabledsorter plugin

2008-09-24 Thread MorningZ
Well, for one, i copied and pasted that code from another post i made a month ago that was *very* similar... in doing so, i didn't change the name of the parser that got wired up, that would be one reason why it may not work (get wired up), but i can tell you that the sorting parser itself most de

[jQuery] Re: need to sort european data in tabledsorter plugin

2008-09-24 Thread hcvitto
in the plugin code there's this shortdate parser, ts.addParser({ id: "shortDate", is: function(s) { return /\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(s); }, format: function(s,table) { va

[jQuery] Re: need to sort european data in tabledsorter plugin

2008-09-24 Thread hcvitto
hi i tried the code, no effect though.. On 24 Set, 13:39, MorningZ <[EMAIL PROTECTED]> wrote: > Give this custom parser a shot > > $.tablesorter.addParser({ >                     id: 'DD-MMM-YY', >                     is: function(s) { >                         return false; >                    

[jQuery] Re: need to sort european data in tabledsorter plugin

2008-09-24 Thread MorningZ
Give this custom parser a shot $.tablesorter.addParser({ id: 'DD-MMM-YY', is: function(s) { return false; }, format: function(s) { s = '' + s; //Make sure it's a string