Table header sort
Started on: 25 October 12
Participants: 1
Hi, Anybody know of a plugin, or a built in function to make the columns in a table sortable? i.e. I click on the column header and it sorts the rows by that column?
This challenge is listed under
Peripherals
Community
Related Posts:
Please login to reply this post
Important:
- We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
- To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
- Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
2 Suggestions
You could also use TableSorter (http://tablesorter.com/docs/) if that suits your need more.
Hi Anand, in which technology do you want this question answered? In the front end or back end? Database query, MS Windows interface, Linux/Unix-based graphical UI interface, Jquery, native Java, etc, etc? That might help the right expert zoom in with an answer.
I will guess you want a Jquery answer, so you might want to look up the sorttable class in the Javascript library. More info on how to use it is here:http://www.kryogenix.org/code/browser/sorttable/.