I have a table in which I need to color the cells' background based on content. I'm trying to write a custom discrete colorScaleGenerator based on literal text or a pattern. I tried like this, but apparently I'm off-track:
I am also trying to do something similar. I was thinking about somehow using forEachMatchingRecord in onRefresh. But not sure if that will work. Have you been able to find a solution for that.
I have a table in which I need to color the cells' background based on content. I'm trying to write a custom discrete colorScaleGenerator based on literal text or a pattern. I tried like this, but apparently I'm off-track:
Is there a way?