Never said it was a "ready for production with a zillion rows"... just
call it a "proof of concept" that tablesorter is *very* flexible, in
fact I would call it the most flexible plugin I've seen in the 15
months or so i've been into jQuery.. given more time, and the
need for me to use it, t
impressive but has some flaws (large numbers, sorting w/o clicking headers,
etc). not a complete fix but definitely a 95+% solution -- neat!
aquaone
On Tue, Mar 24, 2009 at 00:00, MorningZ wrote:
>
> Not the prettiest code i've ever written, but:
>
> 1) It works :-)
> 2) Didn't touch one singl
Not the prettiest code i've ever written, but:
1) It works :-)
2) Didn't touch one single character in tablesorter.js
http://paste.pocoo.org/show/109306/
(Make sure you are viewing it in Firefox with FireBug going, or
comment out the "console.log"-s and set Tablesorter's option of
"debug" to "f
> you were on the right track with the ".addParser" method but there's
> no need to edit it inside the core code
Ok, I'll bite. How? addParser() just lets you determine one value that
goes to sortnumeric(a, b) or sorttext(a, b). Those methods are
designed to put a value on top when sorting one d
"I don't think a custom parser can "always force null data to the
bottom."
Maybe it's outside your skill level, but it is *definitely* do-able
without touching one single character of code inside tablesorter.js
you were on the right track with the ".addParser" method but there's
no need to edit
On Mar 13, 5:52 am, MorningZ wrote:
> A custom parser would *definitely* handle this
On Mar 13, 5:52 am, MorningZ wrote:
> A custom parser would *definitely* handle this
I don't think a custom parser can "always force null data to the
bottom."
The custom parsers just normalize cell conten
On Mar 13, 5:52 am, MorningZ wrote:
> A custom parser would *definitely* handle this
I don't think a custom parser can "always force null data to the
bottom."
The custom parsers just normalize cell contents into "numeric" or
"text" format and that result is then sent on to the sorting routine
A custom parser would *definitely* handle this
I could write it up if i had an example of the HTML
On Mar 12, 6:45 pm, Big Mad Kev wrote:
> Yep thats it basic numeric sort with nulls on bottom.
>
> From what I have read I don't think a parser will help unless I've
> misunderstood
>
> Thanks for
Yep thats it basic numeric sort with nulls on bottom.
>From what I have read I don't think a parser will help unless I've
misunderstood
Thanks for your quick reply.
On Mar 12, 10:08 pm, aquaone wrote:
> You could define your own parser to do this. Are you looking for a basic
> numeric sort wit
You could define your own parser to do this. Are you looking for a basic
numeric sort with nulls on bottom? lexicographical sort? ..?
stephen
On Thu, Mar 12, 2009 at 11:52, Big Mad Kev wrote:
>
> Good Morning / Afternoon / Evening,
>
> Using the tableSorter does anyone know if it's possible to
10 matches
Mail list logo