Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Changing background color(Changing background color in a data row for a specific line)
Changing background color [message #1806525] Fri, 10 May 2019 07:28 Go to next message
Jure Turjak is currently offline Jure TurjakFriend
Messages: 1
Registered: May 2019
Junior Member
Hello, i'm trying to color a specific line in a data row called - row[wonum] line 10684 and 10685. I need a condition for these two line so i can highlite them. I tried this

if(this.getValue == '10684')

this.getStyle().color = "red";
else
this.getStyle().color = "green";

and it is not working at all.

But I must write this code in the script not just set it in General settings.

Please for help!

Greeting Jure
Re: Changing background color [message #1807373 is a reply to message #1806525] Tue, 28 May 2019 19:04 Go to previous message
Eric Davis is currently offline Eric DavisFriend
Messages: 14
Registered: March 2018
Junior Member
Looks right to me. It's probably an issue with the value you're checking
Previous Topic:List with files in directory
Next Topic:DateTime Formatting not allowing modify for custom
Goto Forum:
  


Current Time: Mon Jul 22 05:51:41 GMT 2019

Powered by FUDForum. Page generated in 0.01555 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top