Coloring an Entire Table Row

#1

I’m a very new user to Grafana, and I’m really liking it so far.

I have a table that displays a username, user full name and account status. Is there a way to colorize the entire row, if the status is “Disabled”? I’m on Grafana 6.1.6.

Thanks,

Brad Turnbough

#2

what datsource are you using?

#3

MySQL. Pardon my ignorance here, but isn’t this logic performed after the data has been queried? Thanks!

#4

I asked you because this isn’t possible out de box, but you can do something to get the same result.

SELECT
TIME,
USER

( CASE STATE

WHEN “disable” then 0
WHEN “enable” then 1

) AS STATE
FROM yourtable

And next you can use value to text feature to show correct values. And trigger to coloring the cell or row