How to insert a detailed strip between existing stripes in iReport?

Simple question. How to insert a detailed strip between existing stripes in iReport? For example, I have the current situation:


Details 1


Detail 2


Details 3


... and I want to add an even more detailed strip between parts 2 and parts 3. Is there an easy way?

Many thanks.

EDIT: I was referring to the presentation of the designer / XML.

+6
java ireport
source share
3 answers

Ok, I found a solution. I switched to the XML view and copied everything between the <band> and </band> tags and put it in the right position. Excuse for troubling.

+13
source share

A multiple data group is probably available starting with version 3.5.0 of JasperReport.

 JasperDesignFactory designFactory = new JasperDesignFactory(); JRBandFactory bandFactory = new JRBandFactory(); JasperDesign design = (JasperDesign) designFactory.createObject(designAttributes); JRDesignSection designSection = (JRDesignSection) design.getDetailSection(); JRDesignBand band1 = (JRDesignBand) bandFactory.createObject(bandAttributes); JRDesignBand band2 = (JRDesignBand) bandFactory.createObject(bandAttributes); JRDesignBand band3 = (JRDesignBand) bandFactory.createObject(bandAttributes); designSection.addBand(band1); designSection.addBand(band2); designSection.addBand(band3); 

Moreover, how does this happen.

In XML, you simply create another group, such as the default

In the Designer, which depends on the designer. For example, in iReport (3.7.1):

Go to the "Report Inspector View", right-click the default mouse button, and select "Add another fragment" in the context menu.

+1
source share

You can drag stripes in the OUTLINE window. Thus, the solution in "Design View" will add a new Band and drag it to where you want in the OUTLINE window.

I'm talking about JasperStudio, maybe it was not possible for IReport

0
source share

All Articles