This plug-in depends on having a table that has a <thead> and <tbody> tag.
To get the plug-in working all you you need to do is run the fixedHeader() function on the selector for your table.
fixedHeader()
$("#dataset").fixedHeader();
原文地址:http://ul2.bgsu.edu/labs/fixed-header/