mkoryak/floatThead — pull request #45 by sharcashmo (2014-02-11 11:17:24+00:00)
Title: Update jquery.floatThead.js

If table wrapper doesn't have a fixed height (as in examples) but it uses absolute positioning to use as much space as allowed by surrounding elements current implementation didn't work because the div container

$container = $container.wrap("

").parent();

will have a computed height of zero, and so will happen with the table wraper put inside.

Changing the container to use absolute positioning and setting top, bottom, right and left to zero (ie, use all available space) will solve the problem and allow us to use tables which height is not fixed.

Anyway, I've set that configurable, behing default behaviour as it was.