How to remove class after column resize

Tags: #<Tag:0x00007fce7740a5e0> #<Tag:0x00007fce7740a4a0>

I added a class to truncate strings using a custom renderer. However, I wanted to remove this class after the columns were resized. Therefore, I tried to remove the class in the ‘aftercolumnresize’ hook, but it didn’t work at all.

Please help me out. Here is the example link.

Hi @zamma2337

According to the official practices that are based on our API you can

  1. Use cells method and then call updateSettings() with the new cells config, or
  2. Use setCellMeta() to add the className method and ten use removeCellMeta() method to remove the className.

We do not support using addClass() method don’t the result element of getCell().