How to set cell meta inside afterChange?

Tags: #<Tag:0x00007efc605b6450>

Hi,

It seems that inside afterChange nothing is taking effect. Like I want to add a new class to a cell. But it’s not working inside afterChange.

It is working inside beforeChange. But I need to trigger the change inside afterChange, coz I’m running a custom function in-between these two.

Is there any other way I could change a cell meta by not using afterChange, that can trigger after an edit? Aside from beforeChange.

Thanks!

Hi @hugh

You can use an afterBeginEditing hook. And inside it set cell meta by setCellMeta.

Here is a demo - https://jsfiddle.net/wfusrgm1/