|
| |
|
|
BeTheBall
Posts: 6359 Joined: 6/21/2002 From: West Point Utah USA Status: offline
|
Sortable Tables - 6/30/2005 19:47:04
When pulling data from a database, we often want to add the option of sorting that data based on the column title, say name, date or ID number. The way I have always done that was to send a second request to the database and retrieve the data with a new order by clause. There are a few tutorials out there that show how to do it. However, I just stumbled across an alternative, using javascript. With this method, no second call is needed. Have a look: http://www.kryogenix.org/code/browser/sorttable/
_____________________________
Duane Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
|
|
|
|
mcarpe
Posts: 13 Joined: 8/5/2004 Status: offline
|
RE: Sortable Tables - 11/9/2006 22:24:52
that's awsome. Thanks! I have been looking for something like this. Mcarpe
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|