ok-sort

1.2.2 • Public • Published

sort-table

A pure JavaScript (no dependencies) solution to make HTML Tables sortable

Usage

Include sort-table.js anywhere in your page, it runs on load.
Add CSS class js-sort-table to all tables you want sortable.
Optionally override styles for table.js-sort-table in your styles.

Support

Tested successfully in FireFox Win/Mac.
Tested successfully in Chrome Win/Mac.
Tested successfully in Safari Win/Mac.
Tested successfully in Internet Explorer 10.

License

Released under MIT license, see included LICENSE.txt or http://opensource.org/licenses/MIT

Readme

Keywords

Package Sidebar

Install

npm i ok-sort

Weekly Downloads

6

Version

1.2.2

License

MIT

Unpacked Size

26.7 kB

Total Files

12

Last publish

Collaborators

  • adamestafford
  • andyleach
  • karl.stell
  • mark.neumann
  • rick.alvarez
  • tw.dover
  • tyleruebele