How to export to pdf data with images
How to export to pdf data with images
dyyyy
Posts: 6Questions: 0Answers: 0
Hi, I have a datatable that contains images in rows.
I'm using
[code] "fnCellRender": function ( sValue, iColumn, nTr, iDataIndex ) {
console.log('sValue = ' + sValue + ' iColumn = ' + iColumn + ' nTr = '+nTr + ' iDataIndex = ' + iDataIndex);
return sValue;/*what to put here to get the image*/
}
[/code]
What to put return from fnCellRender to show the image ?
my sValue is
the src is a base64 string.
thanks
I'm using
[code] "fnCellRender": function ( sValue, iColumn, nTr, iDataIndex ) {
console.log('sValue = ' + sValue + ' iColumn = ' + iColumn + ' nTr = '+nTr + ' iDataIndex = ' + iDataIndex);
return sValue;/*what to put here to get the image*/
}
[/code]
What to put return from fnCellRender to show the image ?
my sValue is
the src is a base64 string.
thanks
This discussion has been closed.
Replies
Allan