Html in Cell?

Posted by: k.szabariova on 23 July 2021, 4:03 am EST

    • Post Options:
    • Link

    Posted 23 July 2021, 4:03 am EST - Updated 3 October 2022, 9:43 am EST

    Hello, is it possible to use html in custom cell, so to style the cell content better?

    I am trying to achieve similar look and functionality as AirTable offers:



    Plus I’d have a x button to remove the item, like in Jira:

  • Posted 26 July 2021, 8:22 am EST

    Hi,

    We are sorry but since SpreadJS is rendered on the canvas element, styling cells using CSS is not supported. However, you may create custom cell types and draw on canvas as needed. Please refer to the following sample which demonstrates using custom cell types to display tags:

    https://codesandbox.io/s/spread-js-starter-forked-kiowb?file=/src/index.js

    Regards

    Sharad

Need extra support?

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

Learn More

Forum Channels