Unobtrusive Table Sort Script creates and stores an internal representation of the parsed table data the very first time that one of the table’s sortable TH nodes is activated (a 2D matrix of the table data).
It can order static or paginated tables alike.
Here are some key features of "Unobtrusive Table Sort Script":
· Plays nicely with the JavaScript global namespace (the script creates and reuses only one JavaScript object)
· - Multiple columns can be sorted at once
· - The new script sorts (on average – based on my very non-scientific calculations), 5 times faster than its predecessor
· - The plug-in architecture makes writing custom sort functions a breeze
· - The script can highlight both alternate rows and full columns on a table by table basis.
· - Like its predecessor, the script is fully keyboard accessible
· - The script can correctly determine a columns datatype should a datatype not be explicitly defined
· - The script is smart enough not to sort columns containing identical data
· - Sort routines can now be initiated using JavaScript
· - Tables can be automatically sorted on a column of your choice
· - Before-sort and after-sort callback functions can now be defined for individual tables
· - The script can now “reverse sort” onload
Requirements:
· JavaScript enabled on client side