On 2011.03.23. 1:41, Paul Gear wrote:
On 23/03/11 10:01, Michael Robbert wrote:
... +1 from me. I've been working on a patch to allow sorting of certain tables (i.e. sort ports by bytes or packets in or out). Right now I'm doing it with static pages that are just sorting the SQL queries, but I'd much rather do it dynamically with javascript. I've found a table sorter library that uses jQuery.
Yeah - i noticed http://tablesorter.com/ when i was checking out the jQuery docs, and wondered whether it wouldn't have some useful applications for some of the device & health overview pages.
Paul
Hi!
I intend to avoid bikeshedding the topic, but in case you weren't aware of the other solutions (and you've some time to determine which one would be the best) please take a look at these:
First an other jQuery plugin, I've used it a few times, and it's quite nice: http://datatables.net/ Though a bit heavier than TableSorter.
And there's jqGrid, comes with not one but two kitchen sinks. http://www.trirand.com/blog/jqgrid/jqgrid.html
Plus a lot more mentioned on http://stackoverflow.com/questions/159025/jquery-grid-recommendations