SortedTable

Need to sort?

SortedTable allows you to make any valid table a sortable one. Tables can be sorted automatically or manually by moving rows.

Instructions

To start using SortedTable all you need is:

This is not the only thing you can do to use this code. If you're an advanced JavaScript developer the following examples might give you some more ideas.

Since SortedTable does all it's operations on live DOM lists you can do anything with the tables and it should not break (as many other widgets do).

* You need to learn about cell attributes headers (they need to match the header cell ids) and axis (to set the compare methods).

Examples

Find out what it can do.

Documentation

Dive into the code.

Author

Author of this script is Marko Mrdjenovic.

Development

To report bugs or track development check the blog.

Support

Disclaimer

The script is available as-is and has no guarantees.

License

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Creative Commons License