golovko/Fixed-Header-Table — Issue #44: Integration with tablesorter
Author: macfreek
Created: 2012-02-27 11:27:43+00:00
State: open

Currently jquery.fixedheadertable and [jquery.tablesorter](http://tablesorter.com/) do not work well together.

I'm aware of Jerome Bulanadi's [Scrollable Fixed Header Table](http://jeromebulanadi.wordpress.com/2010/03/22/scrollable-fixed-header-table-a-jquery-plugin/) JQuery plugin, but that does not seem able to have a fixed column.

Ideally, there should be two fixes:
* Fix fixedheadertable to behave correctly if tablesorter is loaded first and has already "mangled" a table.
* Fix tablesorter to behave correctly if fixedheadertable is loaded first and has already "mangled" a table.

I do not know of a quick fix, but perhaps a starting point is to add a 'fixedheadertable' setting to tablesorter and (vice versa) so that fixedheadertable only changes the correct table based on the classes set by fixedheadertable. It seems that tablesorter has to be changed anyway, in particular if there is a fixed-column. (because it than has to sort both the div.fht-fixed-column div.fht-tbody table and the div.fht-fixed-body div.fht-tbody table.