1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-30 12:24:10 +01:00

Fixed: Table width calculations need to be done on the outerWidth, rather than 'inner', otherwise things simply don't add up (and IE get's a bit confused - fair enough).

This commit is contained in:
Allan Jardine 2011-01-17 22:10:16 +00:00
parent c0cfe5c9e9
commit 537e3e9595

View File

@ -5405,7 +5405,7 @@
{
if ( oSettings.aoColumns[i].bVisible )
{
iWidth = $(oNodes[iCorrector]).width();
iWidth = $(oNodes[iCorrector]).outerWidth();
if ( iWidth !== null && iWidth > 0 )
{
oSettings.aoColumns[i].sWidth = _fnStringToCss( iWidth );