Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion js/core/core.draw.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down