It includes alternate row formatting, header class toggling, auto data type recognition and selective column sorting.
After inserting the JS file into the website, a simple function does the job:
var sorter=new table.sorter("sorter");
sorter.init("sorter",1);
It is possible to mention which column will be sorted by default & which columns won’t have a sort feature.
Requirements: No Requirements
Compatibility: All Major Browsers
Website: http://www.leigeber.com/2008/11/javascript-table-sor...
Demo: http://sandbox.leigeber.com/sorter/index.html
No comments:
Post a Comment