Thanks so much! Here is my final version of the script:
script type=text/javascript
$(document).ready(function() {
$.tablesorter.addParser({
id: 'distance',
is: function(s) {
return false;
},
First, understand *why* it doesn't work:
- You add miles to the table cell, then Tablesorter treats it as a
string value
Now that this is understand, the solution is to use a custom parser to
strip out the label, here is an example
http://jsbin.com/unepe/edit
On Nov 17, 11:17 am, Yvan
First, understand *why* it doesn't work:
- You add miles to the table cell, then Tablesorter treats it as a
string value
Now that this is understoodd, the solution is to use a custom parser
to
strip out the label, here is an example
http://jsbin.com/unepe/edit
On Nov 17, 11:17 am, Yvan
On Aug 6, 8:56 am, mila mshneyder...@gmail.com wrote:
$(#myTable).tablesorter();
$(#myTable).tablesorter(); // had to do that twice for column
sorting to work in both directions
Thanks for mentioning this! I was going crazy seeing this behavior
and couldn't figure it out.
nobody?
i kind of, really need a tablesorter for a dynamically loaded page...
On 5 aug, 04:21, solow solow.wes...@gmail.com wrote:
Hey,
I'm using table sorter.
http://tablesorter.com/
Now, this is great and all, but it doesn't seem to work in dynamically
loaded pages.
Does anyone know
Here is what I had to do to get tablesorter work for me after changin
table body:
var currSort = $(#myTable)[0].config.sortList; //save
current sorting
setData(data); //update table with new data
$(#myTable).trigger(update); //refresh sorting cache
Does anyone know a solution for this problem?
Yeah, wire up the Tablesorter code to the table *after* it is placed
on the page. because whether the table was there when the page
was generate or dynamically pulled in makes no difference, as long as
it was there in the DOM when
so basicaly, i have to call for the page, and after calling for the
page, i call fo the tablesorter function... but how do i know, that
loading the page was finished?
On 6 aug, 15:13, MorningZ morni...@gmail.com wrote:
Does anyone know a solution for this problem?
Yeah, wire up the
--
From: solow solow.wes...@gmail.com
Sent: Thursday, August 06, 2009 1:19 PM
To: jQuery (English) jquery-en@googlegroups.com
Subject: [jQuery] Re: Table sorter
so basicaly, i have to call for the page, and after calling for the
page, i call fo
You need to set the dateFormat property to 'uk'. The default is 'us' which
is mm/dd/yy(yy).
aquaone
On Wed, Jul 29, 2009 at 22:04, subhan md.sub...@gmail.com wrote:
Hi,
I am using the date format dd/mm/yy
but it is not working properly, below is the example how it get sort in
ascending
Hallo all.
I'm using this plugin and I consider it fantastic.
I need in a table to ignore some rows from ordering.
Is it possibile to accomplish a task like this?
Kind regards
Massimo
On Apr 21, 1:26 pm, MorningZ morni...@gmail.com wrote:
Why not base your use/non-use of a plugin based on
Is this what your looking for?
http://tablesorter.com/docs/example-meta-headers.html
On Fri, Apr 24, 2009 at 5:10 PM, Mazi m.ug...@gmail.com wrote:
Hallo all.
I'm using this plugin and I consider it fantastic.
I need in a table to ignore some rows from ordering.
Is it possibile to
some rows or some columns?
if columns, then the link Remon provided is correct. If rows, I'm not
entirely sure I understand what you mean. If you need them at the top, have
them in your thead. if you need them at the bottom, put them in your tfoot.
if you want to sort within specific groups, the
Why not base your use/non-use of a plugin based on features and
application for your usage?
I don't see any plugins out there stamped jQuery Official Plugin...
need something done, there's probably 20+ different plugins out there
that will do it
As for TableSorter... i use it pretty
Put this code before your tableSorter code (if you are not loading
your data using ajax call)!
If you are loading table data through ajax then put it in an ajax
callback function: docs.jquery.com/Ajax
Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
On Tue, Jan 20, 2009
Thanks for the reply... But I am using plugin table sorter... where should I
put empty text replacer... dint quite get you ?
Here is the code:
$(.tablesorter)
.tablesorter({widthFixed: true, widgets: ['zebra']})
.tablesorterPager({container: $(#pager)})
$(.tablesorter).each(function()
You must be loading your page 2 with an ajax call!
Add your empty text replacer to the ajax call callback.
PS. I haven't checked but I think you can rewrite your jquery code for
better performance like this:
$(.tablesorter).each(function() {
$('tbody tr td', this).each(function() {
I'm still trying to get this working, has anybody tried anything like
this before?
On Dec 15, 6:16 pm, livewire9174 markmch...@gmail.com wrote:
here is the code, I need to stop the execution somewhere I guess ? I
am using ajax calls to put data into to table, so I guess I cant
attach the
Showing the init code doesn't really help others help you...
Got an example of the HTML you are trying to sort?
On Dec 15, 7:01 am, livewire9174 markmch...@gmail.com wrote:
Hi,
I am using this to initialise the page
SCRIPT type=text/javascript
$(document).ready(function() {
here is the code, I need to stop the execution somewhere I guess ? I
am using ajax calls to put data into to table, so I guess I cant
attach the tablesorter script until the ajax calls have fully
finished ?
[code]
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://
There's an example right in his documentation
http://tablesorter.com/docs/example-options-headers.html
On Nov 4, 6:59 am, livewire9174 [EMAIL PROTECTED] wrote:
Hi,
Here is my code, I want to prevent the first field from being a sort
option, can somebody help?
--
!DOCTYPE html PUBLIC
21 matches
Mail list logo