Footers scroll horizontally
parent
b2a37e054b
commit
23b510dac9
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue