mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Dev fix: The last commit for fnUpdate wasn't quite complete - this commit is the correct one. Updating fnUpdate to be able to cope with bDeferRender
This commit is contained in:
parent
d073e36c34
commit
d242d9cad4
33
media/js/jquery.dataTables.js
vendored
33
media/js/jquery.dataTables.js
vendored
@ -1931,18 +1931,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
iVisibleColumn = _fnColumnIndexToVisible( oSettings, iColumn );
|
||||
if ( iVisibleColumn !== null )
|
||||
if ( oSettings.aoData[iRow].nTr !== null )
|
||||
{
|
||||
if ( oSettings.aoData[iRow].nTr !== null )
|
||||
iVisibleColumn = _fnColumnIndexToVisible( oSettings, iColumn );
|
||||
if ( iVisibleColumn !== null )
|
||||
{
|
||||
oSettings.aoData[iRow].nTr.getElementsByTagName('td')[iVisibleColumn].innerHTML =
|
||||
sDisplay;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
oSettings.aoData[iRow]._anHidden[iColumn].innerHTML = sDisplay;
|
||||
else
|
||||
{
|
||||
oSettings.aoData[iRow]._anHidden[iColumn].innerHTML = sDisplay;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -1974,15 +1974,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
iVisibleColumn = _fnColumnIndexToVisible( oSettings, i );
|
||||
if ( iVisibleColumn !== null )
|
||||
if ( oSettings.aoData[iRow].nTr !== null )
|
||||
{
|
||||
oSettings.aoData[iRow].nTr.getElementsByTagName('td')[iVisibleColumn].innerHTML =
|
||||
sDisplay;
|
||||
}
|
||||
else
|
||||
{
|
||||
oSettings.aoData[iRow]._anHidden[i].innerHTML = sDisplay;
|
||||
iVisibleColumn = _fnColumnIndexToVisible( oSettings, i );
|
||||
if ( iVisibleColumn !== null )
|
||||
{
|
||||
oSettings.aoData[iRow].nTr.getElementsByTagName('td')[iVisibleColumn].innerHTML =
|
||||
sDisplay;
|
||||
}
|
||||
else
|
||||
{
|
||||
oSettings.aoData[iRow]._anHidden[i].innerHTML = sDisplay;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user