stickyHeader icon indicating copy to clipboard operation
stickyHeader copied to clipboard

Makes table headers stick to the top of the viewport when scrolling down HTML data tables.

Results 4 stickyHeader issues
Sort by recently updated
recently updated
newest added

This helps with dom changes such as showing/hiding an element or filtering a table and with window resizing. - Move table and header position and size evaluation to function -...

There is a resizing problem when header cells contains padding. for the jquery version; cellWidths[i] = $(headerCells[i]).width(); should be cellWidths[i] = $(headerCells[i]).innerWidth();

Seems CSS width property is read as inner width, but when setting, JQuery sets the outer one. With the change, we always talk about inner.

# Responsive I moved the anonymous function to a named function. I added a window resize handler that will call `InitStickyHeaderseInit()`. This function removes the old sticky header and handlers....