I have discovered a little problem that others may have seen.  We have pages in our Web portal that have empty grids (tables) that are not populated until the user selects one or more values from pick lists which enables us to request the target data from the database server and populate the grid.  Unfortunately, the table sorter raises an exception if the table has no data rows.  The exception is raised on line 66 of table sorter version 1.03, however, the real problem is that the variable on line 58 for the first data row in null.

 

Mark D. Lincoln

 

Mark D. Lincoln, Director of Research & Development

Eye On Solutions, LLC

(866) 253-9366x101

www.eyeonsolutions.com

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yehuda Katz
Sent: Thursday, October 19, 2006 9:44 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Tablesorter

 

 

On 10/19/06, Christian Bach <[EMAIL PROTECTED]> wrote:

Hi!

1. I could provied a kind of trigger for you, how about something like this.

Ex.

$("myTableWithTableSorter").trigger("resort");


Are you saying you *could* provide this or that you already have?

 

2. Well it depends how your table is structured and how big it is. Please
post a example.


It's pretty complicated (and proprietary). I have no problem with Regex; I was just curious how the custom sorters worked. Do you need a custom parser for each sorter?

 

/christian


Yehuda Katz wrote:
> I have a need to have the tablesorter do the following:
>
> 1) Refresh when I need it to (I'm going to be doing DOM insertions, and
> will
> need to refresh the table after an insertion). The best thing I could think
> of thus far is $(".sortUp, .sortDown").click().click(). Obviously not the
> best idea.
> 2) Use custom sorters. I see that the table sorter SUPPORTS custom sorters
> and parsers, but I wasn't sure about the best way to do this.
>
> Christian? Anyone?
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/




--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to