Download
Features
- 1.sort on numbers, strings, dates and currency
- 2.filtering on columns
Usage
var myTable = new sortableTable('myTable', { |
overCls: 'over', |
onClick: function(){alert(this.id)} |
}); |
Data types:
- number 123.45
- string firstname
- date YYYY-MM-DD, DD/MM/YY[YY], DD-MM-YY[YY]
- currency £100.00 (any currency as long as its a single symbol)
- overCls the name of the class added when the mouse is over the tr.
- onClick the name of the function to call on the onClick event.
- sortOn the number of the column to initially sort on (zero based).
- sortBy the direction of the sort (ASC / DESC) (default: ASC).
- filterHide whether or not to show just the results. (default: true).

No comments:
Post a Comment