1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-19 12:52:11 +01:00

New: New event - column-sizing - fired when

This commit is contained in:
Allan Jardine 2013-08-06 10:25:57 +01:00
parent f817e9a0be
commit ac7fb22620
2 changed files with 8 additions and 8 deletions

View File

@ -1 +1 @@
06352304626267c445f0816cdf446860af77e721
df3786b5c29f4bc25e2ab63fa7889a8306099764

View File

@ -362,11 +362,8 @@
function _fnAdjustColumnSizing ( oSettings )
{
/* Not interested in doing column width calculation if auto-width is disabled */
if ( oSettings.oFeatures.bAutoWidth === false )
if ( oSettings.oFeatures.bAutoWidth !== false )
{
return false;
}
_fnCalculateColumnWidths( oSettings );
for ( var i=0 , iLen=oSettings.aoColumns.length ; i<iLen ; i++ )
{
@ -374,6 +371,9 @@
}
}
_fnCallbackFire( oSettings, null, 'column-sizing', [oSettings] );
}
/**
* Covert the index of a visible column to the index in the data array (take account