jquery-floatheader
v1.0.1
Published
FloatHeader is a very light-weight jQuery plugin used to fix the table header. The logic is very simple so that you can tweak as per you requirement. Only a few lines of code, thats it; what else you need.
Downloads
7
Maintainers
Readme
floatheader
As there are lots of plugins to fix/float the table header and they are also included with bunch of options and features. But sometime we do not need all those features, so here in I have written a simple and a light weight plugin which floats the table header. And but obvious we all know why we need floating headers, because our user hate to scroll up and down when there are numbers numbers of records on a page.
FloatHeader is a very light-weight jQuery plugin used to fix the table header. The logic is very simple so that you can tweak as per you requirement. Only a few lines of code, thats it; what else you need.
Fixed Vertical Table Header
First Release - Fixed Horizontal Table Header
Lets learn how to use it:-
Very first we need a table markups as shown below:-
Add styles floatheader.css
Add a reference of jQuery.js either using local path or using cdn.
Then Add floatheader.js plugin.
And Now its time to call the floatheader as here below:-
$(document).ready(function () {
$("table.tblList").floatheader();
});