1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-02 03:29:14 +01:00

Fix: The change in commit 537e3e9595b4b641f333c43d2d8d575217b1d234 (537e3e9595 ) was incorrect - the column widths should be calculated with width() rather than outerWidth(). This can be seen by the misalignment in the tmp table if it is made visible.

This commit is contained in:
Allan Jardine 2011-05-08 15:40:03 +01:00
parent 2c2a4754d9
commit 1d651f68a3

View File

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