How to remove a cell classname

Tags: #<Tag:0x00007efc6b924f50>

Hello,

I know add classname by using setCellMeta, but how to remove ?

Hi @taddyzc1996

there’s a method called removeCellMeta().

Here’s an example where we call removeCellMeta() method on a selected cell to remove a className https://jsfiddle.net/dmr837vc/.


You can read more about it here https://handsontable.com/docs/javascript-data-grid/api/core/#removecellmeta

it works, thank you

Great! Thank you for the confirmation.

We can close this thread as solved.