This looks a bit like a bug to me - but maybe I’m doing something wrong…
I’m trying to apply a class to a cell by settting the className
property in the cells
callback. The class is defined in the css of my angular 6 component. I can verify in the browser, that the class gets applied correctly to the cell, but it has no effect.
If I use one of HOT’s classes, it works.
Also I note that when I’m using the array syntax of the className
property, then the classes are joined by comma instead of white-space.
I was able to reproduce these two issues with a simple sample application, which can be found here on StackBlitz.
A small ordinary table at the end of this sample proves that the class is actually defined and works.
Why is my class not applied on the HOT?
Any help would be greatly appreciated!
Robert
PS: I’m new to HOT and I love it!