Adjust width of fixed-column footers to account for footers with a colspan
parent
23b510dac9
commit
e97620b3dd
|
@ -485,8 +485,11 @@
|
||||||
$tfoot.appendTo($fixedColumn)
|
$tfoot.appendTo($fixedColumn)
|
||||||
.find('tr')
|
.find('tr')
|
||||||
.append($firstTdFootChild.clone());
|
.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({
|
$tfoot.css({
|
||||||
'top': settings.scrollbarOffset
|
'top': settings.scrollbarOffset,
|
||||||
|
'width': footwidth,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue