Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/localjo/table-sorter
A simple table sort exercise.
https://github.com/localjo/table-sorter
Last synced: about 2 months 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-10T12:02:55.000Z (about 5 years ago)
- Last Synced: 2024-04-15T01:43:10.935Z (9 months 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.