File: assets/plugins/datatables/extensions/FixedHeader/Readme.txt

Recommend this page to a friend!
  Classes of Kishor Mali  >  PHP User Feedback System  >  assets/plugins/datatables/extensions/FixedHeader/Readme.txt  >  Download  
File: assets/plugins/datatables/extensions/FixedHeader/Readme.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: PHP User Feedback System
Application to record feedback from customers
Author: By
Last change:
Date: 4 months ago
Size: 1,404 bytes


Class file image Download
# FixedHeader

At times it can be useful to ensure that column titles will remain always visible on a table, even when a user scrolls down a table. The FixedHeader plug-in for DataTables will float the 'thead' element above the table at all times to help address this issue. The column titles also remain click-able to perform sorting. Key features include:

* Fix the header to the top of the window
* Ability to fix the footer and left / right columns as well
* z-Index ordering options

# Installation

To use FixedHeader, first download DataTables ( ) and place the unzipped FixedHeader package into a `extensions` directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the `examples` directory in your web-browser.

# Basic usage

FixedHeader is initialised using the `$.fn.dataTable.FixedHeader()` object. For example:

$(document).ready( function () {
    var table = $('#example').dataTable();
    new $.fn.dataTable.FixedHeader( table );
} );

# Documentation / support

* Documentation:
* DataTables support forums:

# GitHub

If you fancy getting involved with the development of FixedHeader and help make it better, please refer to its GitHub repo:

For more information send a message to info at phpclasses dot org.