How to add Row Header to CrossTab in Jasper Studio?

0

I am using CrossTab with 7 Row Groups in Jasper Studio. Here is the result, that I get.

So you can see, that it's quite difficult to understand, what data is presented in Row Groups. I'd like to add Row Group Headers, but there is no clear way to perform it! Here is the result, that I expect.

I've tried to add static text, but it intersects with CrossTab Element and disappears, when report is exported to Excel. Is there any way to add Row Group Headers to CrossTab?

alexey_1's picture
Joined: Apr 21 2014 - 12:48am
Last seen: 3 years 5 months ago

Hi,

Go to Basic Elements, drag static Text above your row heading. 

Regards,

Neha Aggarwal

neha.angel.sweet - 3 years 5 months ago

Hi! I write in my post: I've tried to add static text, but it intersects with CrossTab Element and disappears, when report is exported to Excel.

alexey_1 - 3 years 5 months ago

1 Answer:

0

Drag a Basic Elements -> Table into the Crosstab Header. Set the dataset of the table to be Empty Dataset as you don't really need any data. Delete all but the detail row of the table. Right click on the row in the Table Editor and add as many columns as you need. In each column add a Static Text box. Then put the text you would like to have into that static text box.

Since it appears you have custom widths as well, be sure to select the cell of each column and set the width appropriately. You will then be able to set the width on your text box to match.

 

Hope that helps.

sheva2's picture
5
Joined: Jul 22 2016 - 5:15am
Last seen: 1 year 6 months ago
Feedback