Monday, September 17, 2012

Jasper report: column footer not appearing directly below detail band

Maybe you wanted the column footer to appear directly below the detail band without success.
Certainly this tips may help you.
1.Go to designer view ---> Report inspector -->right click report name --->properties-->Check "Float column Footer".
2.Go back to design view --->set the height of summary band to zero or just delete it.
3. Rock your world.

Thursday, July 19, 2012

Ireport : forward a broken row to the new page

Suppose a row height is so long that it is spread on two pages.
Using this option will do the job
<columnHeader>
        <band height="20" splitType="Prevent">
            <staticText>
</staticText>
        </band>
    </columnHeader>
<detail>
        <band height="18" splitType="Prevent">
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                .....
            </textField>
</detail>