This commit is contained in:
James 2020-03-29 09:43:36 +01:00
parent fa2bb99243
commit bbaf7b4baf

View File

@ -92,6 +92,9 @@ define(["jquery"], function ($) {
$("#button_container").css('position', 'absolute');
}
$('#heatcalc tbody th').css("left", $("#table_container").scrollLeft());
$('#heatcalc thead th:nth-child(1)').css("left", $("#table_container").scrollLeft());
/*
buttonOffset = $('#button_container').offset().top;
@ -102,11 +105,9 @@ define(["jquery"], function ($) {
}else{
$("#button_container").css('top', 0);
$("#heatcalc thead th").css('top', 0);
}
}*/
$('#heatcalc tbody th').css("left", $("#table_container").scrollLeft());
$('#heatcalc thead th:nth-child(1)').css("left", $("#table_container").scrollLeft());
*/
}
function draw_table(){