js-fixed-header
Create fixed header in your table. Write in Vanilla JS.
Installation
Bower
bower install js-fixed-header
How to use
Create
var fixedTable = new JSFixedHeader(table,options);
Destroy
fixedTable.destroy();
Default options
{
"top" : 0,
"zIndex" : 100,
"type":JSFixedHeader.TYPE_CSS_FIXED
}