Jump to content
Changes to the Jaspersoft community edition download ×

HOW TO create "BANNER" IN ireport jasper?


ghoshchampoo

Recommended Posts

I want to add Banner in my group header and print  whenever the group changes. How to I create a banner? I am using iReport 3.7.0 version.

Please also note that the report is generated in txt format from jrxml

Code used:

<textField isBlankWhenNull="true">
<reportElement style="banner" mode="Opaque" x="2" y="4" width="801" height="27" isRemoveLineWhenBlank="true" printWhenGroupChanges="institution_group"/>
<textElement textAlignment="Center"/>
<textFieldExpression class="java.lang.String"><![CDATA[$F{INSTITUTION_CODE}]]></textFieldExpression>
</textField>
 
But this sets a formatted style not a banner!

 

Thank you in advance. Anyone? Any help will be appreciated.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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