stały nagłówek
.tableFixHead thead th { position: sticky; top: 0; }
itaca9
.tableFixHead thead th { position: sticky; top: 0; }
<div style="height: 600px;overflow: scroll;">
<!-- change height to increase the number of visible row -->
<table></table>
</div>
// For Bootstrap 4
$("tr:visible").each(function (index) {
$(this).css("background-color", !!(index & 1)? "rgba(0,0,0,.05)" : "rgba(0,0,0,0)");
});
// For previous versions
$("tr:not(.hidden)").each(function (index) {
$(this).toggleClass("stripe", !!(index & 1));
});
sdfgsdfgsdfg