As of tablesorter version 2.9+, this widget can no longer be applied to versions of tablesorter prior to version 2.8.
Added cssStickyHeaders_attachTo option (default set to null) in v2.14.4.
Setting this option with either a jQuery selector string (".wrapper") or jQuery object ($(".wrapper")).
This option contains the target to which the sticky header will attach - see the second example below.
Added a widget option named stickyHeaders_cloneId (v2.9)
It contains a suffix to add to any table id.
Its default value is -sticky
To access the added sticky table content from your code without worrying about using the ID, you can use table.config.widgetOptions.$sticky.
Table captions and any additional rows (filter widget row) will also be included in the sticky header (v2.9).
You will need to modify the headerTemplate option to include the jQuery UI icon! See the example in the code (v2.7).
Scroll down the page to see the headers stick. Then sort the columns using the sticky headers!
Added a widget option named stickyHeaders option which contains the css class name applied to the actual sticky header (v2.1). Modified in v2.11 so that "tablesorter-stickyHeader" class is always added and this option only adds additional classes.
Multiple rows in the header will become sticky (v2.1.17).
The filter widget adds a row to the table header, but that row will not be included in the sticky header.
Add the class name sticky-false to any header rows you don't want to become sticky (v2.1.18).
Because of the limitations of Internet Explorer version 7 and older, this widget will not work.