mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Fix: When using bDeferRender HTML in the target cell would be used as text rather than HTML when doing the width calculations - making them completely wrong - 4879
This commit is contained in:
parent
c8572df07a
commit
c125efebc9
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -5658,9 +5658,7 @@
|
|||||||
if ( oSettings.aoData[iMaxIndex].nTr === null )
|
if ( oSettings.aoData[iMaxIndex].nTr === null )
|
||||||
{
|
{
|
||||||
var n = document.createElement('td');
|
var n = document.createElement('td');
|
||||||
n.appendChild( document.createTextNode(
|
n.innerHTML = _fnGetCellData( oSettings, iMaxIndex, iCol, '' );
|
||||||
_fnGetCellData( oSettings, iMaxIndex, iCol, '' ) )
|
|
||||||
);
|
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
return _fnGetTdNodes(oSettings, iMaxIndex)[iVis];
|
return _fnGetTdNodes(oSettings, iMaxIndex)[iVis];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user