[jQuery] Re: tableSorter question: how to disable the last header?

2008-01-30 Thread Leandro Vieira Pinho
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

[jQuery] Re: tableSorter question: how to disable the last header?

2008-01-25 Thread [EMAIL PROTECTED]
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 =

[jQuery] Re: TableSorter question

2007-06-04 Thread mdrisser
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

[jQuery] Re: TableSorter question

2007-04-10 Thread Ariel Jakobovits
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

[jQuery] Re: TableSorter question

2007-04-09 Thread Andy Matthews
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:

[jQuery] Re: TableSorter question

2007-04-09 Thread Chris W. Parker
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

[jQuery] Re: TableSorter question

2007-04-09 Thread Christian Bach
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

[jQuery] Re: TableSorter question

2007-04-09 Thread Chris W. Parker
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

[jQuery] Re: TableSorter question

2007-04-09 Thread Christian Bach
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