How can I render HTML in a cell?

Posted by: nagavardhan on 8 September 2017, 12:52 am EST

  • Posted 8 September 2017, 12:52 am EST

    Hi,

    Is it possible to render HTML in a cell?

    Thanks.
  • Replied 8 September 2017, 12: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
  • Replied 8 September 2017, 12: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,
  • Replied 8 September 2017, 12:52 am EST

    Eric - Thanks for the snippet.

    Is new version (2015 v1) supports Double underline and Account formatting?
  • Replied 8 September 2017, 12:52 am EST

    2015v1 does not include these, there is a sample may be reference:
    http://embed.plnkr.co/y2D2T9
  • Replied 5 February 2018, 3:41 pm 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.
  • Replied 19 February 2018, 1: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
  • Replied 29 September 2020, 3:29 am EST

    deepak.sharma said:
    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


    Hi above one we are not able to export, It will download with the HTML tags
  • Replied 29 September 2020, 11:15 pm 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
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels