¿Table element in Jasper report ?

0

Hello, that's another question crazy:

¿JasperReport has a table element, i mean, a element that works like an HTML table?.

¿the only way to design a report with jasper report is through the iReport?

Thanks

kalafyan's picture
Joined: Nov 1 2008 - 8:55pm
Last seen: 1 year 9 months ago

4 Answers:

0
dont get ur question
samem_hr's picture
Joined: Aug 29 2007 - 2:51am
Last seen: 6 years 11 months ago
0

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.?

kalafyan's picture
Joined: Nov 1 2008 - 8:55pm
Last seen: 1 year 9 months ago
0

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.

shrije's picture
97
Joined: Apr 5 2008 - 8:59am
Last seen: 4 months 5 days ago
0

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
teodord's picture
2845
Joined: Jun 30 2006 - 9:00am
Last seen: 2 months 2 days ago
Feedback
randomness