Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lfittl/sortable-table
50 lines of Javascript code to help you sort tables - requires Prototype library
https://github.com/lfittl/sortable-table
Last synced: 21 days ago
JSON representation
50 lines of Javascript code to help you sort tables - requires Prototype library
- Host: GitHub
- URL: https://github.com/lfittl/sortable-table
- Owner: lfittl
- Created: 2010-10-05T02:11:33.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-10-05T02:12:57.000Z (about 14 years ago)
- Last Synced: 2024-12-03T03:59:03.204Z (23 days ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
50 lines of Javascript code to help you sort tables (requires Prototype library)
Example table:
Entry ABC
3 comments
...The first click will sort ascending.
The second click will sort descending.
The third click will return to the initial order on page load.For Rails apps:
- Copy sortable_table.js into public/javascripts and include it
- Copy sortable_table.css into public/stylesheets and include it
- Copy arrow_down.gif and arrow_up.gif into public/images