Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Cell coloring in crosstab
Migrateduser
I am using BIRT Pro.
I am trying to color a cell in a crosstab, but I don?t know how to pick up the data from my cube (in order to use it in a script).
In a (normal) table I was able to make it work by putting this in the ?onCreate? event of the cell:
this.getStyle().backgroundColor = "#" + this.getRowData().getColumnValue("CompIdxColor").toString();
this.getStyle().color = "#" + this.getRowData().getColumnValue("CompTxtColor").toString();
Needless to mention probably, but if it's not obvious already, these color fields are calculated, and I already have them in my dataset / datacube, represented as a string of the 6 hex digits (i.e.: C0C0C0).
Is there a way to accomplish the same effect in a crosstab cell?
Thanks in advance.
Find more posts tagged with
Comments
There are no comments yet