rsions didnt and I see it looks like it
> > does.
>
>
> I figured out how to get this working in my project via TableSorter's
> textExtraction option. Would like to understand why the docs claim to
> support this however.
>
--
Christian Bach
Polyester*
Wittstocksgatan 2nb
11524 Stockholm, Sweden
+46 70 443 91 90
Bettina, try downloading the latest development version:
http://jqueryjs.googlecode.com/svn/trunk/plugins/tablesorter/2.0/
And see if it fixes the problem, there is a bug in the 2.0.3 version that
doesn't auto detect number if the equal zero.
/Christian
2008/5/20 Hamish Campbell <[EMAIL PROTECT
Hi,
The plugin name changed with the 2.0 release to ".tablesorter()".
Check out the docs @ http://tablesorter.com
/Christian
2008/5/20 Luciano <[EMAIL PROTECTED]>:
>
> hi,
> i want create sort table in 3 tables byclass
>
> the code:
>$(".box table").tableSorter({
>
Check out the docs @ http://tablesorter.com
The constructor name is know lowercased to .tablesorter();
/c
2008/5/9 lamp5matt <[EMAIL PROTECTED]>:
>
> I inherited an app with a lot of tablesorter implementations, but
> wanted the zebra functionality -- alternating css-styled rows -- so i
> upgrad
Hi Kevin,
Take a look at the source of this page:
http://tablesorter.com/tests/checkbox.html
There is a special ie-checkbox widget, i wrote to deal with the checked
state not being fired correctly in IE6.
Happy tablesorting!
/Christian
2008/3/25, Kevin Scholl <[EMAIL PROTECTED]>:
>
>
> Hello,
Hi Guys,
I will see to it that i incorporate this into the next bug fix version of
tablesorter.
Thanks for spotting it!
/Christian
2008/1/17, Cesar <[EMAIL PROTECTED]>:
>
>
> I encountered this bug the alternate fix, if you want to use version
> 2.0 of the metadata plugin, is to open up tableso
hanks for the follow up,
>
> I implemented the script as you described and it's still not sorting
> correctly:
>
> http://jayfallon.net/tablesorter/tablesorter.html
>
> On Dec 19, 1:21 pm, "Christian Bach" <[EMAIL PROTECTED]>
> wrote:
Hi Jay,
This will solve your problem:
// add parser through the tablesorter addParser method
$.tablesorter.addParser({
// set a unique id
id: 'dates',
is: function(s) {
// return false so this parser is not auto detected
return false;
},
Hi,
there is a new undocumented features for this type of behaviour take a look
at:
http://tablesorter.com/docs/example-triggers.html
/christian
2007/12/12, Arturo <[EMAIL PROTECTED]>:
>
>
> I use a code to bgcolor odd table rows in my tables. Something like:
>
>
> $('table').find('tr:odd').css
Hi,
Just extact the value of the input fields and replace it with a text node.
This is untested but should work:
$("input:text").each(function() {
var $this=$(this);
$this
.after($("")
.html($this.val()))
.hide();
});
/c
2007/12/7, Johan_S <[EMAIL PROTECTED]>:
>
>
> Hello.
>
Nope, nothing wrong in what you are doing.
Just make sure that trigger is called on the table and not the row.
Ex.
$("table").trigger("update");
/c
2007/12/3, Adam Kroll <[EMAIL PROTECTED]>:
>
>
> I'm having problems with tablesorter 2.0.1 and removing rows. I'm
> allowing users to remove ro
Hi Guys,
This issue has been resolved in the latest tablesorter release.
Get it from: http://tablesorter.com/
/Christian
2007/11/29, pambuk <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> I have the exact same problem and frankly, I'm out of ideas.
> Last thing I tried was writing a widget, to rebind events
Hi Scott,
The parser will parse the value inside the table cell and store it's values
in a huge array representing the table data.
This is done only once per column and sorting direction. So setting a max /
min value will only display the right way in one direction.
/christian
2007/11/22, RichU
Hi Joe,
Are you passing any sorter options to tablesorter?
/christian
2007/11/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Has anyone been seeing the following in the firefox error console when
> sorting a tablesorter:
>
> parsers[i] has no properties line:482
>
> It happens whenever a sor
HI Shawn,
Yeah your right, will add it to the docs as soon as i have the time.
Thanks for the feedback!
/christian
2007/10/3, sgrover <[EMAIL PROTECTED]>:
>
>
> I'm using the tablesorter plugin (Excellent work! - makes my job MUCH
> easier). But I found a slight flaw with the documentation.
>
try: jQuery('#foo\\.bar\\:filter');
2007/9/27, ravenel <[EMAIL PROTECTED]>:
>
>
> Hello jQuery Coders!
>
> Since it is allowed to use ".", ":" in the id-Tag (http://www.w3.org/
> TR/html4/types.html#h-6.2)
>
> I wonder how I select it while using the jQuery Selector Syntax?
>
> jQuery('#foo.bar:
To change the date-format to the one you requested just pass the dateFormat
options like this:
$("table").tablesorter({dateFormat: 'uk'});
/christian
2007/9/26, Jean <[EMAIL PROTECTED]>:
>
>
> Unfortunally i´m a jquery noob =/
>
> On 9/26/07, Christian B
I like the idea!
I don't have the time to put together such a solutions, is anyone interested
in helping out?
/christian
2007/9/26, Kia Niskavaara <[EMAIL PROTECTED]>:
>
>
>
> A suggestion is that all parsers (except the basic ones) are removed from
> the plugin, and selectable
> from an archi
Fabien,
This needs to be done to support the :focus pseudo class.
Getting the stylesheet with the native cssText method will return :focus as
unkown.
/christian
2007/9/23, Fabien Meghazi <[EMAIL PROTECTED]>:
>
>
> > May I ask you why you are fetching inline/remote css in the updated
> > versi
Updated the script to support :focus and :after
http://lovepeacenukes.com/jquery/ie6cssfix/
/christian
2007/9/21, Christian Bach <[EMAIL PROTECTED]>:
>
> Unfortunately :after renders as unknown in ie6 :(
>
> So no luck there...
>
> 2007/9/21, Christian Bach <[EMAI
Unfortunately :after renders as unknown in ie6 :(
So no luck there...
2007/9/21, Christian Bach <[EMAIL PROTECTED]>:
>
> That would be way cool, and not to hard to implement!
>
> /christian
>
> 2007/9/21, Brandon Aaron <[EMAIL PROTECTED]>:
> >
> &g
That would be way cool, and not to hard to implement!
/christian
2007/9/21, Brandon Aaron <[EMAIL PROTECTED]>:
>
> Well why not fix :after and :before too :)
>
> --
> Brandon Aaron
>
> On 9/21/07, Christian Bach <[EMAIL PROTECTED] > wrote:
> >
> >
overFix(); has the normal behaviour as you designed it.
> Calling $.ie6HoverFix(true); will redo css declaration only for
> :hover selectors
>
> Here it is. What do you think ?
>
> // ie6HoverFix - Author : Christian Bach
> $.ie6HoverFix = function(only_
Joel: nope i didn't plan on adding it, but if you want you can add it.
Brandon: thanks man!
Fabien:
1. The script only looks for declarations in the stylesheets, that's the
beauty of it.
2. If it was rewritten to use Brandons exellent livequery plugin it would
work with load append etc.
3. Yeah i
Hi list,
The other day i got feed up with ie6 not having :hover css support so i
decided to fix it.
Here is a simple script that solves the problem:
http://lovepeacenukes.com/jquery/ie6hoverfix/
/christian
Bill,
Try the updated version, it fixes this issue:
http://tablesorter.com/jquery.tablesorter.pack.js
/christian
2007/9/20, Bill Huber <[EMAIL PROTECTED]>:
>
>
>
> Thanks for the great work Christian! I did find that the 2.0.1 packed
> version
> does not work for me. It complains about a miss
owledge.
>
> Also, I setup a second page with my modified tablesorter code that
> simply bypasses the checkCellColSpan() function so you can see the
> result I'm looking for.
> It's: http://www.garethphipps.com/tablesorttest/index2.html
> =
Sorry!
This is now resolved.
Thanks for the heads up!
/Christian
2007/9/19, Stoyan <[EMAIL PROTECTED]>:
>
> Anyone gets an error in the tablesortger pager example ?
>
>
> http://tablesorter.com/docs/example-pager.html
>
>
>
> missing ; before statement
>
> urn false}}).mousedown(function(){if(
},
> format: function(s) {
> return $.tablesorter.formatFloat(s);
> },
> type: "numeric"
> });
>
> Christian Bach wrote:
> > Hi list!
> >
> > Just u
On what page in the wiki did you find tableSorter?
Could you point me to the page so i can change it.
/christian
2007/9/18, Rabbit <[EMAIL PROTECTED]>:
>
>
> Ah, of course. It's tablesorter() -- lowercase 's'. The wiki needs to
> be updated to reflect that, as it uses a capital 'S'.
>
> On 9/17
> On Sep 17, 12:37 pm, "Christian Bach" <[EMAIL PROTECTED]>
> wrote:
> > Hi list!
> >
> > Just uploaded the new version of tablesorter that works with the 1.2release
> > of jQuery.
> >
> > Here are the main changes in version tablesorter 2.0.1
> &g
Hi list!
Just uploaded the new version of tablesorter that works with the 1.2 release
of jQuery.
Here are the main changes in version tablesorter 2.0.1
General
* Removed the need for Dimensions plugin when using the pagination plugin
thanks to offset being included in the jQuery 1.2 core.
* Adde
fundamentally wrong with my init function I'll wait and
> see if your updates tomorrow fix it.
>
> Thanks again for your work on this plugin.
>
> Cheers
>
>
>
>
> Christian Bach wrote:
> >
> > Hi Rigent,
> >
> > Try this:
> >
>
Hi Guys,
I have been stuck on a small island in Greece the last two weeks working on
project called "vacation".
I will be releasing a 2.0.1 version of tablesorter (tonight or tomorrow)
that takes care of these issues.
/christian
2007/9/16, Rodrigo Moraes <[EMAIL PROTECTED]>:
>
>
> On 9/14/07, J
Hi Rigent,
Try this:
Change:
To:
I will be releasing version 2.0.1 of tablesorter today or tomorrow with
support for jQuery 1.2.
/christian
2007/9/15, Rigent <[EMAIL PROTECTED]>:
>
>
>
> I'm loving the tablesorter plugin, everything works splendidly except I
> can't
> get a column to sort
Hi. I have been on vacation the last two weeks. I will be back next
week so expect a patch then. /christian
2007/9/11, dobosgy <[EMAIL PROTECTED]>:
>
> I think so, that's why I sent this to the discussion list.
> Maybe he haven't noticed this issue yet by himself. :)
>
> --
> Thanks,
> Gy
>
> On
Hi Travis,
Would it be possible to send me a test-case of your table, "off-list"?
Makes spotting the bug easier for me.
Regards
Christian
2007/8/28, tlphipps <[EMAIL PROTECTED]>:
>
>
> Tablesorter 2.0 rocks! But I think I've uncovered a bug.
>
> I have a table with two rows in the section,
Thanks Brandon and Marshall!
/christian
2007/8/24, Marshall Salinger <[EMAIL PROTECTED]>:
>
> I upgraded from 1.0 to 2.0 in my app and noticed a big improvement in
> speed. It is an excellent plug-in. Dugg!
>
> Christian Bach wrote:
>
> Thanks Rey!
>
> If any
Thanks Rey!
If anyone would like to help me get the word out even more, please feel free
to digg:
http://digg.com/programming/jQuery_plugin_Tablesorter_2_0
Best regards
Christian
2007/8/24, Rey Bango <[EMAIL PROTECTED]>:
>
>
> The press continues around Christian Bach's tableSorter plugin. The
Thanks Chris,
The docs are know updated.
/christian
2007/8/19, Chris <[EMAIL PROTECTED]>:
>
>
> Two easy to fix errors:
>
> The example code in Getting Started uses tableSorter() several times
> rather than tablesorter(). Threw me off till I compared my code with
> other examples.
>
> http://tab
ckon
> > all the widgets should be reloaded when the update event is triggered
> > - eg after I insert rows I want to reapply the zebra widget. Unless I
> > missed something or your plan was to control this action in some other
> > way.
> >
> > Thanks
> >
; $(document).ready(function() {
> // call the tablesorter plugin
> $("table").tablesorter({
> widgets: ['zebra','metadata']
> });
> });
>
>
> On Aug 17, 5:29 p
Lukek,
I will supply a fix for this after the weekend. If you cant wait that
long a tip is that if this.config exists that should be extended
instead of the defaults. /christian
2007/8/17, lukek <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have just been playing with the new Tablesorter 2.0. Thanks Mr Bach
Dan,
in order to set options inline you need to include the metadata
plugin. The reason why this seems to work with out metadata is because
the auto detection for column sorter is working its magic. There is no
need to specify sorters for standard columns like the ones that you
have in your table
> Does anyone have an example of how to stripe the data rows? The
> default looks like it should be .odd & .even and I am using the blue
> theme but nothing is getting striped.
You need to pass the widgets option, try this:
$("table").tablesorter({
sortForce: [0,0],
widgets: ['zebra']
}
Thanks guys!
I will see to it that i add a short overview to the examples.
/christian
Chris, Glean and Sean: Thanks!
I'm really happy with this release and hopefully it will solve all your
table sorting needs.
/christian
Hi List,
I just released the 2.0 version of tablesorter.
Here are the highlight for this release:
* Multi-column sorting
* Parsers for sorting text, URIs, integers, currency, floats, IP addresses,
dates (ISO, long and short formats), time. Add your own easily
* Support for ROWSPAN and COLSPAN on
Hi Jarrod,
Would it be possible for you to make a test page and reply with the URL?
It is tested in IE 6 and should work with out a problem.
/christian
2007/8/14, jarrod <[EMAIL PROTECTED]>:
>
>
>
> I've got the tablesorter plugin working great in Firefox. However, it has
> no
> effect in IE
2007/7/19, Kia <[EMAIL PROTECTED]>:
Personally I would prefer if the string wasn't lowercased. I think the
parser should lowercase it (or use the regexp modifier 'i'), if
needed.
I will change this in time for the final release.
/christian
Could you please post a 'float' parser to the list? I think there was one
in the old tablesorter
release, but unfortionatley I've deleted it.
There is a set of experimental parser available here:
http://lovepeacenukes.com/tablesorter/2.0/jquery.tablesorter.parsers.js
I haven't had the time to
Hi Kia,
I've tried the encode option, but get this strange error:
Updated the "packed" script and it now works.
Also, I've created these parsers (might be useful for someone). Maby you
should make custom parsers
available at your hompepage?
Thanks, when the final version is released it wil
That's not the case for me (the sizes are mixed up on the page).
The normal one is 13.15 kb for me and the packed on is 6.73kb. If you
pack using the Base62 encode option you can get it even smaller.
Thanks Sam, i repacked it and got down to 5,2 KB.
Updated the page to reflect the changes:
ht
Immediately after sending the above I think I realized what the problem
is.
Each of the numeric values in that first column is wrapped in
and you're probably sorting on that. Do I need to write a parser? If so,
what might it be?
This should work:
$.tablesorter.addParser({
id: 'genericLink',
Looks promising but I'm having a little problem with numeric sorting.
Here's my invocation and the table header.
$(function() { $("#listclubs").tablesorter(); });
ID#
Club Name
Area
Type
Charter
When the page first appears it is sorted the way I wrote it but if I
click
excellent job christian,
Thanks!
i have one bug to report: consider this html
if the element contains inline styles such as:
once sorted, the style is removed.
I did a quick test, and the style attribute was not removed, perhaps the
style is over-written by a css class?
Tablesorter by
I'm glad to see you made the multi-column sort key configurable. My
instinct
was to use the [CTRL] key, not the [SHIFT] key (although I know Outlook
uses
the [SHIFT] key.)
Tablesorter can be configured to use either SHIFT or CTRL, all though SHIFT
is default.
Here is a example on how to change
2007/7/17, Rick Pasotto <[EMAIL PROTECTED]>:
On Tue, Jul 17, 2007 at 03:04:59PM +0200, Christian Bach wrote:
>
> The new 2.0 release can be found here:
> http://lovepeacenukes.com/tablesorter/2.0/
Interesting that the packed version is twice as large as the unpacked. :-)
2007/7/17, David Duymelinck <[EMAIL PROTECTED]>:
Christian Bach schreef:
> After another late night, fixing a few bugs, the code is finally ready
> for it's first beta release.
>
> The main new features include:
> * Multi-column sorting
> * In-line support for
After another late night, fixing a few bugs, the code is finally ready for
it's first beta release.
The main new features include:
* Multi-column sorting
* In-line support for setting options done via the class attribute on the TH
elements.
* The plugin has been re-written from scratch.
* Support
Hi List,
After many late night i have managed to sort out a documentation/FAQ, for
the new 2.0 release.
I hope to have included the most common questions/problems + showing off the
new features,
but i might have missed some, so any feedback on this would be great!
The new documentation is locat
sorting.
2007/7/6, tlob < [EMAIL PROTECTED]>:
>
>
> an ajax mysql connection for editing datas inside the table and I owe
> you BIG time!
>
> ;-)
>
> GREAT WORK!!
>
> On 6 Jul., 13:34, "Christian Bach" <[EMAIL PROTECTED]>
> wrote:
>
:
>
>
> an ajax mysql connection for editing datas inside the table and I owe
> you BIG time!
>
> ;-)
>
> GREAT WORK!!
>
> On 6 Jul., 13:34, "Christian Bach" <[EMAIL PROTECTED]>
> wrote:
> > 2007/7/6, Kia Niskavaara < [EMAIL PROTECTED]>:
to allow paging etc.
/christian
2007/7/6, MichaL Sanger <[EMAIL PROTECTED]>:
I have same wish, paging is a must! =)
MichaL
2007/7/6, Michael Stuhr <[EMAIL PROTECTED]>:
>
> Christian Bach schrieb:
> > Hi,
> >
> > I put together a demo/preview for the upcoming release
Hi Phil,
In the 1.x release there is a option called disableHeader
Here is a example:
// disable one header from being sorted
disableHeader: 0
//disable more then one
disableHeader: [0,5,8]
/christian
2007/7/5, Phil Glatz <[EMAIL PROTECTED]>:
Christian Bach wrote:
> And to l
2007/7/6, Kia Niskavaara <[EMAIL PROTECTED]>:
Multi-colum sorting is great news. Good work!! Reverse multisorting on one
column and normal sorting
on another column doesn't seem to be working (yet)
Is it possible to add a custom sorter that sort using the initial order?
Custom sorter will be
.
The demo/preview is located here:
http://lovepeacenukes.com/tablesorter/2.0/tests/demo.html
Best regards
Christian Bach
.trigger("resort");
/christian
2007/7/5, Phil Glatz <[EMAIL PROTECTED]>:
On Jul 5, 4:22 am, "Christian Bach" <[EMAIL PROTECTED]>
wrote:
> set useCache: false
>
> then trigger this after the update.
>
> $('#bodytable').trigger(&q
Hi Phil,
set useCache: false
then trigger this after the update.
$('#bodytable').trigger("updateColumnData");
I'm addressing this issue in the new 2.0 version of tablesorter supplying a
simple .update() method that will rebuild the cached table.
And to leak a new feature: it will contain mul
You could try this, it's a bit sloppy but what the heck...
$.fn.outerHtml = function() {
$this = $(this);
var h = $this.html();
var s = $this.wrap("").parent().html();
$this.empty().html(h);
return s;
};
hello
hello
Sorry Chris, seems you found a bug.
I checked in a new version that takes care of business.
http://dev.jquery.com/browser/trunk/plugins/tablesorter/jquery.tablesorter.js?format=txt
/christian
2007/4/9, Chris W. Parker <[EMAIL PROTECTED]>:
On Monday, April 09, 2007 12:43 PM Christia
tableSorter({
sortColumn: 0,
sortDir: 1
});
Will sort the first column in the opposite direction.
/christian
2007/4/9, Chris W. Parker <[EMAIL PROTECTED]>:
On Monday, April 09, 2007 12:02 PM Andy Matthews <> said:
> There's an option for default sort. How is the data getting to the
> page?
ks just fine (it didn't work with the date
> line you had mentioned for 2 digits). However, the
> Custom line still doesn't do anything for sorting
> the
> score field. (I removed the 0's, as normally those
> fields would be BLANK, as opposed to 0). I also
> tr
s for textExtraction (using a comma, two
separate lines for it, etc)? There is one other column
(score) that in theory should be able to have either
nothing, or a number.
Note: I'm still down with helping you on the
documentation front :)
thanks!
-kim
--- Christian Bach <
Kim, is it possible to publish a test page so i can take a look?
A "quick fix" would be to use the new property textExtractionType - which in
true tablesorter spirit is undocumented.
Here is a example:
This forces the tablesorter to extract data out of the title attribute,
allowing a simple
75 matches
Mail list logo