mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Fix: When invalidating data source, check the cells exist first
- Fixes the issue highlighted in thread 19822
This commit is contained in:
parent
ccc4f99c54
commit
6a568a7542
@ -1 +1 @@
|
||||
6cf06ac317bed3f66765071a5e9081dc570a80a5
|
||||
3034e3ba43fcfd7bb6ae6d95e566d9eca284c35a
|
||||
|
6
media/js/jquery.dataTables.js
vendored
6
media/js/jquery.dataTables.js
vendored
@ -1382,8 +1382,10 @@
|
||||
// Reading from data object, update the DOM
|
||||
var cells = row.anCells;
|
||||
|
||||
for ( i=0, ien=cells.length ; i<ien ; i++ ) {
|
||||
cells[i].innerHTML = _fnGetCellData( settings, rowIdx, i, 'display' );
|
||||
if ( cells ) {
|
||||
for ( i=0, ien=cells.length ; i<ien ; i++ ) {
|
||||
cells[i].innerHTML = _fnGetCellData( settings, rowIdx, i, 'display' );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user