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:
parent
f817e9a0be
commit
ac7fb22620
@ -1 +1 @@
|
||||
06352304626267c445f0816cdf446860af77e721
|
||||
df3786b5c29f4bc25e2ab63fa7889a8306099764
|
||||
|
8
media/js/jquery.dataTables.js
vendored
8
media/js/jquery.dataTables.js
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user