Closed
Set color with a property
Hello!
Is there any way I can set a color with a property? I'd like to use Inline style of a label. The idea is to get a random color every time.
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Hello!
Is there any way I can set a color with a property? I'd like to use Inline style of a label. The idea is to get a random color every time.
can you have a look at this link
https://collaborate.pega.com/discussion/repeating-grid-record-color-change-respective-page-property
Kindly try this Inline css
<pega:when name="whenRule">color: red;</pega:when>
have you tried creating your own derived label property, you may need to write javascript function as well which will return random color value.
I think we may not do this by OOTB controls, we might need to have a custom control, inside which we can set the random color for the label.
Question
Question
Question Solved
Question Solved
Question
Question Solved
Discussion
Question
Question Solved
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.