Add cell to another one

Tags: #<Tag:0x00007f45354851a8>

Hello there! Maybe it’s not correct question, if so sorry for ask. I try to understand how i can put some additional element in cell in order to colorise it in different color(shown in the image). There is some class in CSS which take control on this? For apply color to whole row i used:
js:
currentRowClassName="currentRow"
css:
.handsontable td.currentRow, .handsontable td.current { background: #FDDB99; }

IMAGE%202021-11-17%2017%3A19%3A33

Hi @eildos95 you can achieve what you need by using a customRenderer. In the example below you can see how it’s done:

https://jsfiddle.net/aszymanski/eryajLbh/31/

You can find more about renderers here: https://handsontable.com/docs/cell-renderer/#using-a-cell-renderer

Please, let me know if that’s what you needed.

1 Like

Thanks for the response. Not exactly, but it was helpful in another case. I made this with different solution. I used gradient color :slight_smile:

https://jsfiddle.net/jyn64w2r/1/

Hi @eildos95 that’s great, thank you for the information!