Re: Change color of one cell in crosstab depending of non crosstabdata (BIRT 2.5)
Where is the crosstablocation defined?
Jason
fenix4life wrote:
> Hello,
>
> I've found on the forum a way to change the color of a cell by using the
> function onCreateCell and
> cellInst.getStyle().setBackgroundColor("#FF0000").
>
> Now I have a data source which looks a bit like this:
>
> Duration
> Distance
> Cross_Price
> Cross_Duration
> Cross_Distance
>
> The cross variables are used for my crosstab.
>
> Duration1 Duration2
> Distance1 Price1 Price2
> Distance2 Price3 Price4
>
> What I would like to achieve is that the cell where the crosstablocation
> is equal to Distance / Duration has a different background color.
>
> Is something like this possible?
>
> Thx in advance.
>
|