ink-table icon indicating copy to clipboard operation
ink-table copied to clipboard

Help required

Open GabCores opened this issue 5 years ago • 1 comments

Hi there , this component have great possibilities and it would help me lot to show IOT signals evolution. Great Job! I just trying to figure out how to show a different color just for one cell when e.g. a temperature -among other values- is over certain limits. I have made some practice with "custom.js" , but just gotten color changes all over the row , not a cell. I have a bunch of other parameters to show in a matrix , in which the temperature have to get some color in order to act as an alerting signal. I am searching something like : if column is temperature and its value is over 22 then color = red ... other color = blue

Thanks in advance Gabriel

GabCores avatar Feb 04 '20 11:02 GabCores

Have you tried creating a custom cell and wrapping it into a conditional from the outside? Something like "if value == sth then red else green"

maticzav avatar Nov 06 '20 14:11 maticzav