jQuery Plugin For Fixed Table Header Footer Columns TableHeadFixer - Download jQuery Plugin For Fixed Table Header, Footer and Columns - TableHeadFixer

Download jQuery Plugin For Fixed Table Header, Footer and Columns – TableHeadFixer

Posted on

This time I will share jQuery Plugin and tutorial about jQuery Plugin For Fixed Table Header, Footer and Columns – TableHeadFixer, hope it will help you in programming stack.

jQuery Plugin For Fixed Table Header Footer Columns TableHeadFixer - Download jQuery Plugin For Fixed Table Header, Footer and Columns - TableHeadFixer
File Size: 457 KB
Views Total: 114313
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

TableHeadFixer is a lightweight jQuery plugin used to fix table headers/footers and or specified table columns while scrolling table vertically or horizontally.

Basic usage:

1. Load the jQuery TableHeadFixer plugin after jQuery library.

1 <script src="jquery.min.js"></script>
2 <script src="tableHeadFixer.js"></script>

2. Call the plugin with default parameters. This will create a scrollable table with a fixed table header.

1 $("#fixTable").tableHeadFixer();

3. Create fixed table footers and headers.

1 $("#fixTable").tableHeadFixer({'foot' : true});

4. Fix first left table column.

1 $("#fixTable").tableHeadFixer({'left' : 1});

5. Available parameters.

01 $("#fixTable").tableHeadFixer({
02  
03 // fix table header
04 head: true,
05  
06 // fix table footer
07 foot: false,
08  
09 // fix x left columns
10 left: 0,
11  
12 // fix x right columns
13 right: 0,
14  
15 // z-index
16 'z-index': 0
17  
18 });

Changelog:

2018-09-08

  • Fix bug related to a probable undefined value

2017-09-30

  • changed functions location

2017-09-18

  • fix grouped columns head

2016-09-22

  • turn function to accept multiple element by jquery select

2015-12-02

  • Add comments in code; Fix corner cells z-index problem; Set scroll auto

2015-10-02

  • Accept z-index parameter

2015-06-26

  • Solver problem of re-position td, th child in scroll event

2015-06-06

  • Solver Mix Fix table overwritten problem

2015-06-05

  • Fix colspan problem

This awesome jQuery plugin is developed by lai32290. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net