diff --git a/js/core/core.draw.js b/js/core/core.draw.js index b5d9779da..4cf3d6db8 100644 --- a/js/core/core.draw.js +++ b/js/core/core.draw.js @@ -48,7 +48,14 @@ function _fnCreateTr ( oSettings, iRow, nTrIn, anTds ) // Need to create the HTML if new, or if a rendering function is defined if ( !nTrIn || oCol.mRender || oCol.mData !== i ) { - nTd.innerHTML = _fnGetCellData( oSettings, iRow, i, 'display' ); + var cellData = _fnGetCellData(oSettings, iRow, i, 'display'); + // if the render function of columns creates directly a dom object + if (typeof cellData === 'object') + { + nTd.appendChild(cellData); + } + else + { nTd.innerHTML = cellData; } } /* Add user defined class */