Want to hire a development team?
No Images Added Yet

Sorting HTML Tables Using Javascript

Rated4.4/5 (15 ratings)
Add to Favorites
Publisher
han
A simple method of making your HTML tables sortable.
Product Details

This JavaScript code can be used to convert tables in ordinary HTML into sortable ones by associating each title column with an onClick event to automatically sort the data rows. No additional coding is necessary. All you need to do is give your table an ID field, include the sortTable.js file and call initTable in your document's onLoad method.

Report this Listing
Price
Free
Licence Type
Free
Views
6,924
Submitted on
24th January 2002
Last Updated
11th February 2009

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(15 ratings)
Average User Rating: 4.4/5
Works for me!
Reviewed byAnonymousonSun, 28th January 2007
Rating 5 - Excellent
This works very well for me, so far. I found it quite easy to use, and had no problem making minor modifications (color schemes for example). Very nice.
Nice idea, but too slow or buggy
Reviewed byAnonymousonFri, 10th March 2006
Rating 3 - Average
The author provided 3 versions, two work but are too slow (noticeably slow for tables with just 3 rows, quite slow for table with 40 rows even on powerful computers, unusable for table with a couple hundred rows). The 3rd version did not work, and I found it still quite slow after bug fixing that got it going. This version also lacks multi-table support and will not work for even slightly complicated cell content like hyperlinks. So all 3 versions are not usable for anything but small tables.
keep formating
Reviewed byAnonymousonThu, 25th August 2005
Rating 5 - Excellent
a good idea would be to keep the formating for cells.
Displaying 1-3 out of 3 reviews
View All Reviews