Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35271

FixedHeader incorrectly sizes cloned footer

$
0
0

I've been unable to have my fixed footer properly sized when applied to a table larger than screen width.

When the header is cloned, both wrapper and table are sized accordingly to table width:

var iDtWidth = $(s.nTable).outerWidth();
oCache.nWrapper.style.width = iDtWidth+"px";
nTable.style.width = iDtWidth+"px";

When the footer is cloned, only the wrapper is sized:

oCache.nWrapper.style.width = $(s.nTable).outerWidth()+"px";

Sizing the footer table as well seems to fix this issue.


Viewing all articles
Browse latest Browse all 35271

Trending Articles