d
This commit is contained in:
parent
b2a89015b3
commit
7d1931a5ce
@ -188,7 +188,12 @@ function draw_table(){
|
|||||||
// display the table
|
// display the table
|
||||||
$("#table_container").append(table);
|
$("#table_container").append(table);
|
||||||
|
|
||||||
$("#hc_table thead").clone().css('position','fixed').prependTo("#hc_table");
|
//clon the thead
|
||||||
|
var org_thead=$("#hc_table thead");
|
||||||
|
org_thead.clone().attr('id','floater').css('position','fixed').prependTo("#hc_table");
|
||||||
|
org_thead.find('tr').first().children().each(function(i, e){
|
||||||
|
$($("#hc_table thead#floater").find('tr').children()[i]).width($(e).width());
|
||||||
|
});
|
||||||
|
|
||||||
//enable highlighting
|
//enable highlighting
|
||||||
$("#hc_table td").on("mouseover", function() {
|
$("#hc_table td").on("mouseover", function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user