mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-21 13:29:04 +01:00
Fix: When calculating the column widths, we should get the data to display, otherwise a null element (particularly when using a null mDataProp) can
cause issues with columns being skipped (due to the null return)
This commit is contained in:
parent
275c7520db
commit
b3f5ddaf96
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -5686,7 +5686,7 @@
|
||||
|
||||
for ( var i=0 ; i<oSettings.aoData.length ; i++ )
|
||||
{
|
||||
var s = _fnGetCellData( oSettings, i, iCol, '' );
|
||||
var s = _fnGetCellData( oSettings, i, iCol, 'display' );
|
||||
if ( typeof s == 'string' && s.length > iMax )
|
||||
{
|
||||
iMax = s.length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user