It'd be cleaner to have this a widget. For the direct matter, give your row
a class, remove rows of that class, then append it again as part of the
function.
aquaone
On Mon, Jan 25, 2010 at 19:59, jay wrote:
> Is there any way to get the following code to refresh after every
> sort?
>
> The <
Is there any way to get the following code to refresh after every
sort?
The < $("#myTable").each(function(){ > numbers it, and if I replace
it with < $("#myTable").bind("sortEnd",function(){ > it just adds a
new numbered row after every sort (three sorts gets you three columns
of numbers).
-
A topic just like this
http://groups.google.com/group/jquery-en/browse_thread/thread/bafebc3906044486/bf1c587647d38e22?hl=en
On Nov 20, 9:35 am, hOtTiGeR wrote:
> Hi,
>
> I'm using this plugin and need to filter the date, but am having
> difficulties. Do you know how I would sort dates in the f
Got an example of each date the value could be?
On Nov 10, 12:01 pm, sethwb wrote:
> I've been trying to get this parser I've customized to work, but I'm not sure
> about the syntax... would this be easier to help me with/is this on the
> right track?
>
> ts.addParser({
> id: "s
here you go:
http://jsbin.com/enata/edit
Keep one major thought in mind with this awesome plugin:
it's not very smart (it tries, but in the end, it can only account for
so much)... it can sort numbers and strings... anything more
complicated than that it needs direction :-)
On Nov 10, 11:43
"it does not seem to recognize my client's preferred date format"
were you expecting it to? this will need a custom parser i can
whip up an example, but it'll be a little bit before i could get to
that
On Nov 10, 11:14 am, sethwb wrote:
> Hi I'm usingwww.tablesorter.com'simplementation of
You can try with:
$("yourTable").trigger("update");
Shazzaam wrote:
>
>
> I have a table that dynamically changes columns/headers and uses the
> tablesorter plugin.
>
> I'd like to reset my tablesorter, so that I can assign different
> sorting options for these new headers.
>
> I tried us
"I have tried to add an onSuccess function to update the table
function
(){ $("table").trigger("update"); }
but the table does not sort"
If "#div_reveal" is filled with the actual html,all of it,
upon successful return from the Ajax call, then the tablesorter
functionality is *not* wired up to
Ok I figured it out. It works very nicely. No problems so far.
Here's what I did:
Inside the after the first row with all of the s, you can
add another row with all s:
.
You will also have to style this new row via CSS:
table.tablesorter thead td
{
.
}
Konstantin
On Oct
I've tried but that row is still
being sorted with the rest of the rows...
any ideas?
On Oct 13, 12:30 pm, Don Dunbar wrote:
> Hi, you could try adding "class='{sorter:false}' to that row. See if that
> works, it works for thead ths.DED
>
>
>
> On Tue, Oct 13, 2009 at 3:18 AM, Konstantin
Hi, you could try adding "class='{sorter:false}' to that row. See if that
works, it works for thead ths.DED
On Tue, Oct 13, 2009 at 3:18 AM, Konstantin K wrote:
>
> Hi folks,
>
> I'm using the awesome tablesorter plugin and I have one question:
>
> 1. is it possible to have a row not be part of
Jon,
You are right! Thanks. I saw those characters and thought were have
they come from as in my code it is just white space.
Many Thanks
On Oct 1, 1:57 pm, Jon Banner wrote:
> Hi Mike,
> it looks as if you have copied and pasted some illegal characters in to your
> demo page.
> Try removing t
Hi Mike,
it looks as if you have copied and pasted some illegal characters in to your
demo page.
Try removing these and see if that helps.
Best,
Jon
2009/10/1 Mike
>
> Is there no one that can help?
>
> On Sep 30, 4:26 pm, Mike wrote:
> > Hi I have recently come across the tablesorter 2.0 for
Hi Christian,
I was wondering if you know to when expect the next version that
supports colspan?
I'm using your great plugin, but need colspan support.
Thanks,
Konstantin
On Sep 7, 4:45 am, Christian Bach wrote:
> Hi Mike.
>
> Tablesorter used to support colspan until i found a bug in the
> c
Is there no one that can help?
On Sep 30, 4:26 pm, Mike wrote:
> Hi I have recently come across the tablesorter 2.0 for jquery and have
> decided to use it on my website. I have the examples to work etc.
> however I would like to exclude the first column of my table from
> being sorted and just
Hi Christian,
I've just found a bug which sounds like it's related to this issue.
You may already be aware of this but I'll post it anyway.
I have a table with two rows in the header. The first row has one cell
spanning all the columns, and the second row has a cell for each
column.
With all th
Ok thanks for that advise, the link is broken on that website, but
found an updated version on http://plugins.jquery.com/project/metadata
Works like a charm now!
thanks a lot
/Fons
On Sep 22, 10:23 pm, jlcox wrote:
> You'll need to include the metadata plugin if you want to do like
> that. Se
You'll need to include the metadata plugin if you want to do like
that. See the bottom of the tablesorter download page.
Sorry to say it did not solve my issue
please have a look @ http://www.prodigiumguild.com/xml/guildomatic.php
for the result of the script. (and tick my fingers where i have been
screwing up)
/Fons
On Sep 22, 3:30 pm, narayanis wrote:
> It looks like Tablesorter is treating it as an alpha inst
It looks like Tablesorter is treating it as an alpha instead of a
digit field. Try telling it the field is numeric in the tag of
that column: .
Hope this helps,
Nicholai
Hi Mike.
Tablesorter used to support colspan until i found a bug in the
checkCellColSpan function. I quick fixed it by removing the function called
and forgot to update the docs.
I have a new implementation on the way.
Regards
Christian
2009/9/5 Mike Alsup
>
> > Ive used the tablesorter alot
> Ive used the tablesorter alot in my projects, and Ive had the need for
> this as well.
> I found a DataTables plugin which looks like it can do colspans, but I
> havent tried it.
> I actually looked after reading your post to see if it supported the
> colspans now, as earlier versions didnt and
Ive used the tablesorter alot in my projects, and Ive had the need for
this as well.
I found a DataTables plugin which looks like it can do colspans, but I
havent tried it.
I actually looked after reading your post to see if it supported the
colspans now, as earlier versions didnt and I see it loo
Nobody has a clue?
On Aug 27, 8:03 pm, Serb wrote:
> Right, but that's for the default on-page-load sort, so to speak...
> I'm talking about all the other on-demand, on-header-click sorts -
> they all default to ascending for some reason...
>
> On Aug 27, 7:12 pm, marksimon wrote:
>
> > $(docum
$(document).ready(function() {
$(".tablesorter").tablesorter({
sortList: [[0,1]], widthFixed: true, widgets: ['zebra']});
});
the sortList parameter takes two arguments: column, and direction. So
sorting 0,1 sorts on the first column descending. 1,0 would be second
column descending.
Right, but that's for the default on-page-load sort, so to speak...
I'm talking about all the other on-demand, on-header-click sorts -
they all default to ascending for some reason...
On Aug 27, 7:12 pm, marksimon wrote:
> $(document).ready(function() {
> $(".tablesorter").tablesorter({
>
It would likely be much less work to change the dates to match a
standardized numeric format than to write your own parser. The performance
would likely be better as well.
If this is not an option, let me know the full date format (I'm not even
seeing a year in this) and the language being used, s
Doh! That was the one parameter I didn't experiment with to see where
the problem was...
Thank you!
On Aug 7, 5:09 am, Paul Mills wrote:
> Hi,
> Change the sortList definition to
> sortList: [[3,0]],
> or
> sortList: [[3,1]],
> depending on what order you want the column sorted in.
>
> You coul
Don't be so sure now... I'm still a rookie when it comes to jQuery.
After playing with the code a bit, I realized I can't even logically
fathom how to go about making this work for multiple tables/classes,
thus I've got what you can call a writer's block when it comes to
putting it into code - I
Hi,
Change the sortList definition to
sortList: [[3,0]],
or
sortList: [[3,1]],
depending on what order you want the column sorted in.
You could also tidy up your HTML by adding tags and
elements are not valid inside
Paul
On Aug 7, 6:53 am, jsrobinson wrote:
> I have two custom parsers, one
I'm sure you can look at the code and find a way to get it working in the
general case. What's there was just kinda a quick and dirty hack I wrote for
another guy a while ago. I'll leave it as an exercise for the reader though.
;-)
aquaone
On Wed, Aug 5, 2009 at 14:16, Crazy Serb wrote:
>
> A-
A-ha!
That's pretty much what I'd need...
Now, is there any slick way of repeating that over and over for
different tables (with class names of "multisort1", "multisort2", etc)
in case I have a few of these multi-sort tables on the same page and
need to keep them separate?
Or would I pretty muc
Tablesorter doesn't support that. You could do it as separate tables with no
gaps between them... but that's as close as you'll get. If you need linked
sorting, e.g. clicking the header of one table sorts all tables, you'll need
something like this:
$(document).ready( function(){
$("table.table
personally i do not understand anything this guy says
back to the topic
i personally will put an extra/custom attribute in like
then $("a") and sort on the "ref" attribute.
If not mistaken, there is a sorting plugin somewhere or even in jQuery core.
Or you should be able to do it easily
On Mo
I am sorry, I did not understand your answer. Do you have a solution
to my problem?
On Jul 26, 3:41 am, 刘永杰 wrote:
> easyer.
>
> 2009/7/25 mila
>
>
>
> > I have data that looks like that
>
> > 23
> > 9
>
> > I need it to be sorted numericaly by values between >. How do I
> > do that?
>
>
easyer.
2009/7/25 mila
>
>
> I have data that looks like that
>
> 23
> 9
>
> I need it to be sorted numericaly by values between >. How do I
> do that?
>
Hello all,
I solved this problem by making a new trigger which I call after moving the
columns around:
.bind("colOrderChanged",function() {
$headers = buildHeaders(this);
var sortList = config.sortLi
My bad didnt copy the pager div section from the example.
On Jul 21, 11:31 am, Vamshi wrote:
> This works fine when i just use tablesorter but when I add pager
> plugin code , it doesnot work properly.
>
> What happens : When I click on the header to sort, it displays me a
> just the header row
Anyone? just an update, its not working in any of the browsers, I have
tried FF IE and Chrome.
Last I checked "*sym link*" wasn't a number. ;-)
aquaone
On Thu, Jul 16, 2009 at 09:51, Ian Stokes-Rees wrote:
>
> tablesorter isn't sorting numbers correctly. I have the latest jQuery
> (1.3.2) and tablesorter (2.0.3).
>
> from http://abitibi.sbgrid.org/:
>
>
> script>
>