Posted 8 September 2017, 9:52 am EST
Hi,
Is it possible to render HTML in a cell?
Thanks.
Forums Home / Spread / SpreadJS
Posted by: nagavardhan on 8 September 2017, 9:52 am EST
Posted 8 September 2017, 9:52 am EST
Hi,
Is it possible to render HTML in a cell?
Thanks.
Posted 8 September 2017, 9:52 am EST
Hello,
Currently, SpreadJS does not provides an option to display formatted HTML content in a cell. Could you please elaborate the use case and your requirement so, that we can accordingly escalate the issue to the concerned team for further review.
Thanks,
Reeva
Posted 8 September 2017, 9:52 am EST
There is a sample draw html in cell by using svg, but it doesn’t work in IE, because IE doesn’t support foreignObject yet.
http://embed.plnkr.co/mzQ4oN/preview
Hope it helps,
Posted 8 September 2017, 9:52 am EST
Eric - Thanks for the snippet.
Is new version (2015 v1) supports Double underline and Account formatting?
Posted 8 September 2017, 9:52 am EST
2015v1 does not include these, there is a sample may be reference:
http://embed.plnkr.co/y2D2T9
Posted 6 February 2018, 12:41 am EST
HIi,
I tried above in V11 and it doesnt work as expected because V11 is not exposing private property (_renderTextDecoration) on text celltype, How to achieve this in spread V11?
Can you please suggest the alternative for the same in v11.
Posted 19 February 2018, 10:20 am EST
Hello,
I have answered it here:
https://www.grapecity.com/en/forums/spread-sheets/how-to-achieve-double-unde#hi-viswanathi-have-asked-t
Thanks,
Deepak Sharma
Posted 29 September 2020, 12:29 pm EST - Updated 3 October 2022, 10:04 am EST
Hi above one we are not able to export, It will download with the HTML tags
Posted 30 September 2020, 8:15 am EST
Hi,
Please refer to the following thread:
https://www.grapecity.com/forums/spreadjs/spread-js-not-supporting-t#hinow-sjs-supports-rich-te
Regards