fixedTableHeader

This jquery plugin will clone the <thead> section of your table, including click functionality, and keep the table header on the screen should you lose your heading row due to scrolling. This will let your browsers see the heading columns and use their functionality (including tablesorting or any other functions that you may have set) at all times.

The table heading will disappear should your browser scroll down far enough that your table is no longer displayed on the screen and the fixed table heading no longer becomes needed.

Note: If you have a large screen resolution and can't test the example below because the table headings are not scrolling off the page; make sure your browser window is not maximized then shrink your window down untill you can scroll to force the table headers to leave the page. 

First Name Last Name Age Total Discount Difference Date
Peter Parker 28 $9.99 20.9% +12.1 Jul 6, 2006 8:14 AM
John Hood 33 $19.99 25% +12 Dec 10, 2002 5:14 AM
Clark Kent 18 $15.89 44% -26 Jan 12, 2003 11:14 AM
Bruce Almighty 45 $153.19 44.7% +77 Jan 18, 2001 9:12 AM
Bruce Evans 22 $13.19 11% -100.9 Jan 18, 2007 9:12 AM
Bruce Evans 22 $13.19 11% 0 Jan 18, 2007 9:12 AM
Peter Paul 27 $22.16 15% 0 Jan 18, 2007 9:12 AM
Peter Parker 28 $9.99 20.9% +12.1 Jul 6, 2006 8:14 AM
John Hood 33 $19.99 25% +12 Dec 10, 2002 5:14 AM
Clark Kent 18 $15.89 44% -26 Jan 12, 2003 11:14 AM
Bruce Almighty 45 $153.19 44.7% +77 Jan 18, 2001 9:12 AM
Bruce Evans 22 $13.19 11% -100.9 Jan 18, 2007 9:12 AM
Bruce Evans 22 $13.19 11% 0 Jan 18, 2007 9:12 AM
Peter Paul 27 $22.16 15% 0 Jan 18, 2007 9:12 AM
Peter Parker 28 $9.99 20.9% +12.1 Jul 6, 2006 8:14 AM
John Hood 33 $19.99 25% +12 Dec 10, 2002 5:14 AM
Clark Kent 18 $15.89 44% -26 Jan 12, 2003 11:14 AM
Bruce Almighty 45 $153.19 44.7% +77 Jan 18, 2001 9:12 AM
Bruce Evans 22 $13.19 11% -100.9 Jan 18, 2007 9:12 AM
Bruce Evans 22 $13.19 11% 0 Jan 18, 2007 9:12 AM
Peter Paul 27 $22.16 15% 0 Jan 18, 2007 9:12 AM