How to reset cell type?

Tags: #<Tag:0x00007efc709a73b0>

Hello,

I would like to reset cell type except another formatting (cell background color, font color, font size and so on).

I used the null in setCellMeta
https://jsfiddle.net/janzitniak/y4e98bk7/4/ but this doesn’t work

Jan

Hi @jan.zitniak

We don’t have a null type of cells.

In some sense text is the default type of cells. So if you use hot1.setCellMeta(0, 3, 'type', 'text'); you change a type of cell from date to text.

Here is an updated demo - https://jsfiddle.net/jm8z0t2v

Hi @piotr.nowak,

thank you for your answer and example.

I’m glad to hear that it works for you.

Thank you for a response.