Freezeheader

A simple jquery plugin to freeze header row in html table.

View the Project on GitHub laertejjunior/freezeheader

jquery.freezeheader

A simple jquery plugin to freeze header row in html table.

Installation

Include script after the jQuery library (unless you are packaging scripts somehow else):

<script src="/path/to/jquery.freezeheader.js"></script>

Usage

Create a table with fixed header and scroll bar:

        $(document).ready(function () {
            $("#tableid").freezeHeader({ 'height': '300px' });
        })

Demo

Culture Name Display Name Culture Code ISO 639x

Create a table with fixed header in the top browser:

        $(document).ready(function () {
            $("#tableid").freezeHeader(offset : '50px');
        })

Demo

Culture Name Display Name Culture Code ISO 639x
First Table
Language Culture Name Display Name Culture Code ISO 639x Value
fourth Table
Language Culture Name Display Name Culture Code ISO 639x Value