Column Layout of Cross Tab

Stimulsoft Reports.NET discussion
Post Reply
maof
Posts: 7
Joined: Tue May 12, 2009 8:28 am

Column Layout of Cross Tab

Post by maof »

Hi,

i've got a Cross Tab like

Code: Select all

--------------------
|   | 1 | 2 | 3 | 4 |
--------------------
| a |   |   |   | x |
--------------------
| b |   | y |   |   |
---------------------
| c |   |   | z |   |
---------------------
Is it possible to adjust the layout of an entire colum, depending on the value of the column header, i.e. if column header value == 2 then highlight entire column?

thanks in advance
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Column Layout of Cross Tab

Post by Edward »

Hi

Yes, it is possible. You have to place in the Tag property of the cell in CrossTab an expression which calculates your Column value, i.e. {myDataSource.MyDataColumnForcolumnHeader}. Then in the Conditions property of the same cell in the CrossTab you can write a condition for analysing of that Tag value:

tag == 2

And change colour of the the font to red.

When the condition is succeed, colour of the cell's font became red.

Thank you.
maof
Posts: 7
Joined: Tue May 12, 2009 8:28 am

Column Layout of Cross Tab

Post by maof »

I thought about that solution. Unfortunately not every cell contains data and consequently i cannot change the layout of all cells. Layout of empty cells stays the same.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Column Layout of Cross Tab

Post by Edward »

Hi

Unfortunately only this way is possible right now.

Thank you.
Post Reply