https://github.com/localjo/table-sorter
A simple table sort exercise.
https://github.com/localjo/table-sorter
Last synced: about 1 month ago
JSON representation
A simple table sort exercise.
- Host: GitHub
- URL: https://github.com/localjo/table-sorter
- Owner: localjo
- Created: 2014-04-10T18:55:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2019-11-10T12:02:55.000Z (over 6 years ago)
- Last Synced: 2025-02-24T05:11:11.517Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://iamlocaljo.com/table-sorter/
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a small JavaScript library I made from scratch to sort HTML tables by clicking on the table headings.
You can use it by including it in the global scope of a page and then initiating it on a `table` element with something like this:
```js
SortableTable.init(document.getElementById('sortable-table'));
```
To run tests, open `index.html` in a browser.