This topic is locked

How to Scroll (Report) Table Data

6/13/2014 12:32:36 PM
PHPRunner Tips and Tricks
F
FunkDaddy author

Unfortunately long reports lead to the column headers being hidden form view when scrolling down page.
Simple solution is using a Jquery plugin in the JS OnLoad event as follows:



//This solution rocks! So easy!

//Refer to https://github.com/jmosbech/StickyTableHeaders

$.get( "plugins/jqueryStickyTableHeaders/jquery.stickytableheaders.min.js", function() {

$('#legend').stickyTableHeaders(); //Where legend is the name of the table that contains your report data

//console.log( "Load was performed." );

});


Enjoy :-)