Author: | stuartlangridge |
---|---|
Views Total: | 694 views |
Official Page: | Go to website |
Last Update: | April 7, 2023 |
License: | MIT |
Preview:

Description:
sorttable.js is a dead simple table sort JS library that adds sorting capabilities to your HTML tables. Supports multiple data types, including dates, numbers, and text.
It intelligently detects the data type within each column and allows users to sort data by clicking on the table headers.
How to use it:
1. Download the zip and add the sorttable.js library to the page.
<script src="sorttable.js"></script>
2. Add the CSS class “sortable” to any HTML table you’d like to make sortable.
<table class="sortable"> ... </table>
3. Click on the headers to sort the table.