Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery table header sort

Tags:

jquery

sorting

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?

like image 539
Gene R Avatar asked Oct 14 '08 18:10

Gene R


People also ask

How do you sort a table in ascending order in HTML?

Sort Table by Clicking the Headers. Click the headers to sort the table. Click "Name" to sort by names, and "Country" to sort by country. The first time you click, the sorting direction is ascending (A to Z).


2 Answers

http://tablesorter.com/docs/ is very simple to use with a wide range of options to suit your needs. :)

like image 59
Mike Avatar answered Oct 22 '22 00:10

Mike


http://www.flexigrid.info/

Flexigrid is a very popular, and easy table manager/sorter to use.

like image 37
Remy Sharp Avatar answered Oct 22 '22 00:10

Remy Sharp