Great. Perfect.
Thanks.
On Jan 25, 11:57 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi. I tried to use Widget or variable but without result. Than i edit
table sorter plugin. It is very easy.
In buildHeaders method
after
$tableHeaders = $(thead th,table);
add this
Hi. I tried to use Widget or variable but without result. Than i edit
table sorter plugin. It is very easy.
In buildHeaders method
after
$tableHeaders = $(thead th,table);
add this
// set negative numbers like positive
totalCols =
Try using something similar to the following:
// TableSorter
$('.reportTable').tableSorter({
sortColumn: 'date', // Integer or String of
the name of the column to
sort by.
sortDir: 2, // Change the
default
W. Parker [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Monday, April 9, 2007 2:37:42 PM
Subject: [jQuery] Re: TableSorter question
On Monday, April 09, 2007 1:40 PM Chris W. Parker said:
On Monday, April 09, 2007 12:43 PM Christian Bach said:
tableSorter({
sortColumn: 0,
sortDir
There's an option for default sort. How is the data getting to the page? Is
it hard-coded or the result of an SQL operation?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chris W. Parker
Sent: Monday, April 09, 2007 1:58 PM
To:
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? Is it hard-coded or the result of an SQL operation?
It's both. I mean that it's not JSON or XML data. The data returned from
the SQL call is used to create the
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? Is it
On Monday, April 09, 2007 12:43 PM Christian Bach said:
tableSorter({
sortColumn: 0,
sortDir: 1
});
Will sort the first column in the opposite direction.
Actually that just makes my arrow appear upside down.
Here's what I see without sortDir set.
Column up arrow
April
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 Christian Bach
9 matches
Mail list logo