Timeline for How to dynamically change the rows color of a pageBlockTable in Visualforce based on picklist field values?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 29, 2020 at 0:28 | comment | added | Nacho Zve De La Torre | Beautiful and complete answer to my question. Thank you very much and very apreciated !!! BEST regards Derek | |
Dec 29, 2020 at 0:28 | vote | accept | Nacho Zve De La Torre | ||
Dec 28, 2020 at 18:32 | history | edited | Derek F | CC BY-SA 4.0 |
added 322 characters in body
|
Dec 28, 2020 at 16:34 | comment | added | Derek F |
Eventually, it should be possible to do this via CSS alone using the :has() pseudo-class of CSS 4 like tr:has(> td[pickval-red]){ background-color: red;} , but no browsers appear to support that (yet) at time of writing, and it wouldn't work if you want to render as a pdf (flying saucer only supports up to CSS 2.1)
|
|
Dec 28, 2020 at 16:09 | history | answered | Derek F | CC BY-SA 4.0 |