Methods

.floatThead('destroy')

Removes the widget from the table, returns a function to reinit the plugin with original options var $table = $('table.demo1'); // float the headers $table.floatThead({top: 25}); // unfloat the headers var reinit = $table.floatThead('destroy'); // ... later you want to re-float the headers with same options reinit();

.floatThead('reflow')

Cause header to realign itself to the correct position. Same as the reflow event below. var $table = $('table.demo1'); //float the headers $table.floatThead(); $table.floatThead('reflow');

.floatThead('getRowGroups')