[jQuery] Re: Table sorter.

2009-04-21 Thread MorningZ
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 exten

[jQuery] Re: Table sorter.

2009-04-24 Thread Mazi
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 wrote: > Why not base your use/non-use of a plugin based on features and > applic

[jQuery] Re: Table sorter.

2009-04-24 Thread Remon Oldenbeuving
Is this what your looking for? http://tablesorter.com/docs/example-meta-headers.html On Fri, Apr 24, 2009 at 5:10 PM, Mazi 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 accomplish a task li

[jQuery] Re: Table sorter.

2009-04-24 Thread aquaone
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 pl

[jQuery] Re: Table sorter

2009-08-06 Thread solow
nobody? i kind of, really need a tablesorter for a dynamically loaded page... On 5 aug, 04:21, solow 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 a solution fo

[jQuery] Re: Table sorter

2009-08-06 Thread mila
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 $("#myT

[jQuery] Re: Table sorter

2009-08-06 Thread MorningZ
"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 ".tablesorte

[jQuery] Re: Table sorter

2009-08-06 Thread solow
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 wrote: > "Does anyone know a solution for this problem? " > > Yeah, wire up the Tablesorter code to the

[jQuery] Re: Table sorter

2009-08-06 Thread Mauricio Vargas
-- From: "solow" Sent: Thursday, August 06, 2009 1:19 PM To: "jQuery (English)" Subject: [jQuery] Re: Table sorter so basicaly, i have to call for the page, and after calling for the page, i call fo the tablesorter function.

[jQuery] Re: Table sorter

2009-08-12 Thread Bob Woodard
On Aug 6, 8:56 am, mila 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.

[jQuery] Re: Table sorter and pager problem

2009-01-17 Thread jQuery Lover
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() {

[jQuery] Re: Table sorter and pager problem

2009-01-19 Thread Varun Khatri
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(funct

[jQuery] Re: Table sorter and pager problem

2009-01-25 Thread jQuery Lover
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 at

[jQuery] Re: Table sorter 2.0 Date format issue

2009-07-30 Thread aquaone
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 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 order > >

[jQuery] Re: Table sorter issue - trying to stop a field from sorting

2008-11-04 Thread MorningZ
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? > > <-- >   "http://www.w3

[jQuery] Re: table sorter issue, how do i sort these as a currency

2008-12-15 Thread MorningZ
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 wrote: > Hi, > I am using this to initialise the page > > >         $(document).ready(function() { >             $("#tableOne") >                

[jQuery] Re: table sorter issue, how do i sort these as a currency

2008-12-15 Thread livewire9174
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] function ajaxFunction() { var xmlHttp=null; try { // Firefox, Oper

[jQuery] Re: table sorter issue, how do i sort these as a currency

2008-12-22 Thread livewire9174
I'm still trying to get this working, has anybody tried anything like this before? On Dec 15, 6:16 pm, livewire9174 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 tablesorter script unt

[jQuery] Re: Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-17 Thread MorningZ
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 wro

[jQuery] Re: Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-17 Thread MorningZ
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 wrote

[jQuery] Re: Table sorter plugin not properly sorting Distance column (ie: 17 Miles)

2009-11-18 Thread Yvan
Thanks so much! Here is my final version of the script: $(document).ready(function() { $.tablesorter.addParser({ id: 'distance', is: function(s) { return false; }, format: function(s) {