How to remove class after column resize

Tags: #<Tag:0x00007f0b09a1a9a8> #<Tag:0x00007f0b09a1a750>

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.
https://jsfiddle.net/0rqo6k34/

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().