Footers scroll horizontally

master
Freek Dijkstra 2012-02-27 10:06:26 +01:00
parent b2a37e054b
commit 23b510dac9
1 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@
'margin-left': -this.scrollLeft 'margin-left': -this.scrollLeft
}); });
if (settings.cloneHeadToFoot) { if (settings.footer || settings.cloneHeadToFoot) {
$tfoot.find('table') $tfoot.find('table')
.css({ .css({
'margin-left': -this.scrollLeft 'margin-left': -this.scrollLeft
@ -479,7 +479,7 @@
// setup clone footer with fixed column // setup clone footer with fixed column
if (settings.footer == true || settings.cloneHeadToFoot == true) { if (settings.footer == true || settings.cloneHeadToFoot == true) {
var $firstTdFootChild = $fixedBody.find('.fht-tfoot thead tr > *:lt(' + settings.fixedColumns + ')'); var $firstTdFootChild = $fixedBody.find('.fht-tfoot tr > *:lt(' + settings.fixedColumns + ')');
helpers._fixHeightWithCss($firstTdFootChild, tableProps); helpers._fixHeightWithCss($firstTdFootChild, tableProps);
$tfoot.appendTo($fixedColumn) $tfoot.appendTo($fixedColumn)