Here's something we're always ask : “Can we see the list in the order we want?” In a programmer's language, it means that the client wants to be able to sort a HTML table by clicking on the header row. You have two choices : server-side or client-side. If you choose server-side, you'll have to query all the data to the DB with a different “ORDER BY” clause. That's not nice for your DB and your DBA will probably hate you. If you choose client-side, you'll have to write A LOT of code. That is not nice for your phalanges and they will probably hate you.

God finally sent us a third option : Tablesorter 2.0 (a jQuery plugin).

It's easy to use and it just works! Take a look at the simplest example possible and don't forget there's a lot more to do.

comments powered by Disqus