I really liked
kryogenix’s solution to the table sort. This code has not been changed much.
Two main speed enhancements:
- Added "textContent" to the grabText function for FireFox + Opera support,
- Removed uneccessary "sortbottom" class, as you should be using <TFOOT> anyways…
Add resortTable(this,this.cellIndex) to your
columns to make them sortable.
Example: Internal Link — example is also using Table OrganizeJAVASCRIPT
|