I have a SimpleResultsTable in an advanced xml dashboard, and I want the rows in my table to have different colors depending on the value of one of my fields, prec_pass, that has values from 0-1. How do I do that? I tried using rangemap:
... | rangemap field=PREC_PASS lowValue=0-0.99 highValue=1-1 default=highValue
and add a css file to my_app/appserver/static:
/* SimpleResultsTable */
table.simpleResultsTable td.pos,
table.simpleResultsTable th.pos {
color: #bbb;
border: none;
}
table.simpleResultsTable td.lowValue {
border: 1px solid red;
background-color: #bb2121;
}
table.simpleResultsTable td.highValue {
border: 1px solid blue;
}
... but that didn't do it, nothing happened. Any suggestions?
Thanks,
Elin
... View more