Adjust width of fixed-column footers to account for footers with a colspan

master
Freek Dijkstra 2012-02-27 10:11:38 +01:00
parent 23b510dac9
commit e97620b3dd
1 changed files with 4 additions and 1 deletions

View File

@ -485,8 +485,11 @@
$tfoot.appendTo($fixedColumn)
.find('tr')
.append($firstTdFootChild.clone());
// Set (view width) of $tfoot div to width of table (this accounts for footers with a colspan)
footwidth = $tfoot.find('table').innerWidth();
$tfoot.css({
'top': settings.scrollbarOffset
'top': settings.scrollbarOffset,
'width': footwidth,
});
}
},