Light gray not working on BIRT 2.5.0
#3
Posted 25 March 2012 - 01:21 PM
I am trying to use it on an onCreate script. The following is my code:
if (row["C_A_P_NAME"] == "Retired") {
// Set to gray background
reportContext.setPersistentGlobalVariable(BirtStr.concat(row["A_COMPID"], "highlight"), "lightgray");
}
else {
// Set to normal white background
reportContext.setPersistentGlobalVariable(BirtStr.concat(row["A_COMPID"], "highlight"), "white");
}
#6
Posted 01 April 2012 - 05:49 PM
mwilliams, on 28 March 2012 - 01:26 PM, said:
That's OK Michael.
I am recalling the global variable on my main table's detail row's onRender script.
FYI, the global variable is being set on a sub-table of the main table's detail row's onCreate script.
Albert
#7
Posted 10 April 2012 - 07:21 AM






MultiQuote





