frequency decoder | Unobtrusive Table Sort Script (revisited)
frequency decoder | Unobtrusive Table Sort Script (revisited)
I’m currently in the process of rewriting a web-application that displays lots of tabular data. The previous application enabled users to sort the table rows by clicking on the table header text but unfortunately, passed the processing overhead back to the server, meaning the entire page was reloaded on each click… nasty.
The original applications table rows were “zebra striped†(again, this was originally handled by the server code), which means that a JavaScript solution has to also keep the order of the stripes after sorting & rearranging the table rows.