Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help required #58

Open
GabCores opened this issue Feb 4, 2020 · 1 comment
Open

Help required #58

GabCores opened this issue Feb 4, 2020 · 1 comment

Comments

@GabCores
Copy link

GabCores commented Feb 4, 2020

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

@maticzav
Copy link
Owner

maticzav commented Nov 6, 2020

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants