Jump to content
JasperReports Library 7.0 is now available ×

Can crosstab be in groupHeader


2004 IR Help

Recommended Posts

By: jyz - jyz

Can crosstab be in groupHeader

2005-12-16 12:39

Can crosstab be put in group? I put it in groupheader and has "Invalid file format. Reason: element "band" does not allow "crosstab: here" error. Thanks

 

Below are my code:

 

<group name="Subj2" isStartNewPage="true" isReprintHeaderOnEachPage="true">

<groupHeader>

<band height="50" isSplitAllowed="true">

<crosstab name="SubjGroup" isRepeatColumnHeaders="false">

<reportElement x="0" y="20" width="812" height="60" mode="Opaque"/>

<crosstabDataset>

<dataset resetGroup="Subj2" resetType="Group">

</dataset>

</crosstabDataset>

</crosstab>

</band>

</groupHeader>

</group>

 

 

 

 

By: Lucian Chirita - lucianc

RE: Can crosstab be in groupHeader

2005-12-19 00:32

You can put a crosstab in the group header, but I don't think you will get the desired result because data collected from the group is not available when the group header is filled and crosstabs do not support delayed evaluation. As alternatives, you could place the crosstab in the group footer or use a subdataset.

 

Regards,

Lucian

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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