Game Development Community

Sortable tables?

by Strijder · in Technical Issues · 02/08/2001 (11:31 am) · 7 replies

Is there any way to have sortable fields in an HTML table? Similar in appearance, say, to the server lists in Tribes, where you click each column to sort by that category? :-)

About the author

Recent Threads


#1
02/08/2001 (11:35 am)
I've seen it done, but never bothered looking at the code. For a project I worked on we had the browser download XML and then presented it using DHTML. The user could then search, sort, etc. just like in any "real" GUI app. This was on IE so I don't know if it's possible with other browsers (Mozilla probably could do it).
#2
02/08/2001 (11:52 am)
Client side. If you want to be compatible with most browers I don't think you can do it.

Server side, easy. Just a little PHP, PERL, JAVA or any number of other server side scripting languages and you're done.

--Rick
#3
02/08/2001 (2:33 pm)
Almost all the GarageGames tables are that way, if you look at the search result for developers, resources, help ads, projects, etc. All the columns are sortable, click the header to sort by a colum, and the icon for up/down. This is implemented as server side php code.

The sort information is also stored as part of the address query argument, which means that if you bookmark one of these pages, it saves the sort column and direction as well.

Fun stuff :)
#4
10/05/2001 (6:21 pm)
java is what I would of used. But I have only been doing web desing for 4 years. And I am still lerning myself.

BTW Tim, And Rick Sorry about Dinamix I have been playing yalls games sence Red Barron (I played T1 and T2) If yall ever want to play my ICQ# is 102626688
#5
07/05/2006 (2:09 pm)
Look through some of my demos

http://www.cyberlot.net/demos/
#6
07/05/2006 (2:16 pm)
Wow, funny stuff this one has to be a record.

Dick,
how did you find this thread man? it is 5 years old!
i'm pretty sure there is a law against this sort of thing
(waking up a deceased thread)
#7
07/05/2006 (2:17 pm)
It was on the list of the very first page, I didn't even look at the date I just answered then realized how old it was