Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.