Discussion


First Tech Federal Credit Union
US
Last activity: 9 May 2017 9:49 EDT
How to Colour few rows in the repeating grid base on condtions
Hi
I have a scenario that i need to show few rows in colour(Ex:Red) based on aconation in the repeating grid list. can anyone please help me how we can achieve that
Thanks
Krishna Babu
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
IN
please try <pega:when name="WHENRULE">color: red;</pega:when> as inline style


First Tech Federal Credit Union
US
Thanks for your reply .
The above inline style i have to modify all the columns separately in the row. is there any way to changed in grid layout so that we can change the color of entire row based on condtions?


Pegasystems Inc.
IN
no...


wipro
IN
hey,did u get any solution for same,i am trying for same


CapitalOne
US
Create separate section and keep different layout for each color and put visible condition. refer the section in repeat grid at run time based on visible condition specific layout will be displayed for each row in grid this will work out , we also did similar implementation.


Aaseya It Services
IN
Hi,
Select the whole row and add the inline style "<pega:choose> <pega:when name = "When Name" > background-color: red; </pega:when> <pega:otherwise> background-color: White; </pega:otherwise></pega:choose>"
So based on the when condition whole row will get the color red or white.


Pegasystems Inc.
US
You can apply inline style to the row
Use the suggestion above
<pega:when name="WHENRULE">color: red;</pega:when> as inline style
but apply it to the entire row