[jQuery] Re: Best way to Table Sort using server side calls

2009-03-17 Thread MorningZ
One thing i never understand about posts like this: Who in the world is going to be looking at 10,000 (or more!) rows of data at once?Are they on an OC3 connection to download the 20 meg HTML file? Surely there has to be a better and waaay more efficient way to show the users the data they w

[jQuery] Re: Best way to Table Sort using server side calls

2009-03-17 Thread Brad
By "Toggle the sort" I'm assuming you want to change a visual sort order indicator in the clicked ? As MorningZ suggested your click will fire an ajax .load. The .load's callback will: * populate the tables tbody with the return result set * manipulate the clicked th css to indicate a sort order

[jQuery] Re: Best way to Table Sort using server side calls

2009-03-17 Thread Tony K
What would be the best way to Toggle the sort using jQuery? Know of any samples that can determine if the sort is asc, then have a toggle update the link to desc? I appreciate all your help! Thanks, Tony On Mar 17, 2:35 pm, MorningZ wrote: > Sounds like jQuery's ".load" event would be best fo

[jQuery] Re: Best way to Table Sort using server side calls

2009-03-17 Thread MorningZ
Sounds like jQuery's ".load" event would be best for you make the call to "list.cfm?show=All&column=name&sort=asc", create the HTML table in your server side code, then put that HTML into a or the like On Mar 17, 2:31 pm, Tony K wrote: > I'd like to not have page reloads on the client side, a

[jQuery] Re: Best way to Table Sort using server side calls

2009-03-17 Thread Tony K
I'd like to not have page reloads on the client side, as well as the ability to toggle the TH with the sort direction. Make sense? On Mar 17, 2:05 pm, MorningZ wrote: > If you are looking to do the sorting on the server-side, then where/ > how do you think jQuery comes into the equation? > > On

[jQuery] Re: Best way to Table Sort using server side calls

2009-03-17 Thread MorningZ
If you are looking to do the sorting on the server-side, then where/ how do you think jQuery comes into the equation? On Mar 17, 1:20 pm, Tony K wrote: > I am looking to display a table of data and have my table headers we > links to sort. > > I CANNOT use client side sorting, the table is up t