Question
Pegasystems Inc.
JP
Last activity: 16 Sep 2021 7:05 EDT
how to conditionally change row background color for optimized cosmos table?
I am trying to change the row background color conditionally by embedding inline style as below.
<pega:when test="IsKeiyakuManryou">background-color: #a9a9a9;</pega:when>
However, it seems the same jsp code does not work if "allow optimize code" option is checked. (see screeshot below)
Is there a way to conditionally change row background color for optimized cosmos table?
I am trying to change the row background color conditionally by embedding inline style as below.
<pega:when test="IsKeiyakuManryou">background-color: #a9a9a9;</pega:when>
However, it seems the same jsp code does not work if "allow optimize code" option is checked. (see screeshot below)
Is there a way to conditionally change row background color for optimized cosmos table?
Optimize code | settings | rendered screen |
---|---|---|
Not allow | ||
allow |