diff --git a/js/core/core.draw.js b/js/core/core.draw.js index 3300e1970..9b1eebde7 100644 --- a/js/core/core.draw.js +++ b/js/core/core.draw.js @@ -46,10 +46,13 @@ function _fnCreateTr ( oSettings, iRow, nTrIn, anTds ) cells.push( nTd ); // Need to create the HTML if new, or if a rendering function is defined + // and it's return value is non null if ( (!nTrIn || oCol.mRender || oCol.mData !== i) && (!$.isPlainObject(oCol.mData) || oCol.mData._ !== i+'.display') ) { - nTd.innerHTML = _fnGetCellData( oSettings, iRow, i, 'display' ); + var cellData = _fnGetCellData( oSettings, iRow, i, 'display' ); + if ( cellData !== null ) + nTd.innerHTML = cellData; } /* Add user defined class */