Sign inSign up

jQuery mobile plugin for fixing table headers and arbitrary columns (original work)

Add-ons
2026-07-26 04:27 5 views • 0 downloads 3.1KB
jQuery mobile plugin for fixing table headers and arbitrary columns (original work)

Usage

1. Include the files

1
2
3
<script type="text/javascript" src="table_fixer.js"></script>
<link rel="stylesheet" type="text/css" href="table_fixer.css" />

The stylesheet only controls table styles and can be customized as needed.

2. Add an ID to the <table>, for example:

1
<table id="table1">

3. Call the method to activate it

1
2
3
4
$(function(){
/* Parameters: table object ID or class, table height, fixed columns (optional) */
table_fixer("#table1",200);
})