alice76239
asked on
Sort table by clicking on column header
I have an HTML table. Is it possible to make the column header in the form of a hyperlink, so that when user clicks on it, the rows get sorted in ascending/descending order based on the column values.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Almost all their tables there have a tiny icon at the top of each column, and when you click on that icon, the table is resorted by column. On any page where you find this feature, choose View -> page source (or just View -> source in IE) to see how they do it.