Change color of table row / table cells based on conditions

Questions related to using nuBuilder Forte.

Change color of table row / table cells based on conditions

Unread postby oli » Tue May 25, 2021 11:04 pm

Dear all,

is there a way to change the color of the complete table row based on the value of a specific field in this row
e.g.
if field "enddate" >= today the row should be red

And if it's possible to change the color of a specific cell based on it's value as well?

Thanks in advance!

BR,
Oli
oli
 
Posts: 70
Joined: Sat Mar 20, 2021 11:52 pm
nuBuilder Version: 4.5

Re: Change color of table row / table cells based on conditi

Unread postby pmjd » Tue May 25, 2021 11:32 pm

Don't know if this will be exactly what you want but might be worth a look

https://github.com/smalos/nuBuilder4-Co ... ange_color
pmjd
 
Posts: 18
Joined: Fri Mar 12, 2021 7:08 pm
nuBuilder Version: 4.5

Re: Change color of table row / table cells based on conditi

Unread postby Janusz » Wed May 26, 2021 1:41 pm

If you like nuBuilder, please leave a review on SourceForge
Janusz
nuBuilder Team
 
Posts: 468
Joined: Fri Dec 28, 2018 10:11 pm
Location: Krakow, Poland
nuBuilder Version: 4.5

Re: Change color of table row / table cells based on conditi

Unread postby oli » Thu May 27, 2021 4:22 pm

Thank you!

viewtopic.php?f=20&t=9811&hilit=color+row
was exactly what I needed.
oli
 
Posts: 70
Joined: Sat Mar 20, 2021 11:52 pm
nuBuilder Version: 4.5


Return to General

Who is online

Users browsing this forum: No registered users and 14 guests