Jump to content
Changes to the Jaspersoft community edition download ×

¿Table element in Jasper report ?


kalafyan

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Well, I try to design a report with this format, ( look de image in the attachement), but my problem is even more complicated, imagine a report on races, each race is a column of the report, but the number of races that will have your table which is the same as saying the number of columns you do not know at design time, because today is to ignore race A, and tomorrow is going to add a race B, finally, this table can not be designed in advance, this table should be built at runtime, and must have the format of the table in the photo.

¿can help me with some idea.?

Link to comment
Share on other sites

You have use the columnar report. Go to report properties and select 'More' tab. Select the print order as horizontal. Select as many columns you need on your report in the columns tab. Remember you cant have indefinite columns since it is limited to the page width you select. Let me know how it goes. The columns boundaries will be faintly visible on the report layout once you do this. The race 'Men' or 'Women' will be part of single columns.

Link to comment
Share on other sites

Hi,

I think what you are showing in the picture is a crosstab. And JasperReports does support crosstabs. You can take a look at the sample in the /demo/samples/crosstabs folder of the JR project distribution package.

You can see one of the samples here:

http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/samples/ShipmentsReport.pdf

I hope this helps.

Teodor

 



Post Edited by Teodor Danciu at 11/12/08 08:59
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...