How to manually specify a different class for each ColumnHeaders

Tags: #<Tag:0x00007fee369a32e8>

Hello, I’m currently working with handsontable v12.1.0 and i would like to know if there’s a way that i can manually set a different class to each column header, just one time, so that even if i freeze/unfreeze, hide or move my columns, they will remain with the styling i set for each one’s class.




Hi @thiagoferreira2902

You can achieve that by using toVisualColumn method inside afterGetColHeader hook, like here:

1 Like

thank you, it worked!


That’s great, I’m closing this topic then.