Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Hello,

You can turn off pagination with Ignore Pagination proeprty of report. It will generate one page report and all rows will be displayed on one page

Regards, Alex

Posted

Check the height of the text field. Just tried with Jaspersoft Studio by setting "Columns" to "5 "and "Print Order" to "Horizontal" in "Page Format" dialog and didn't get any page breaks between rows.

Posted

hello  hozawa:

 

I have try your advice

"Print Order" to "Horizontal" in "Page Format" .

but still fail

it only show name in column 1-9

but cant show 10-18 column

what step I lost?

 

this is my xml code

..<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="null" language="groovy" columnCount="9" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="90" columnSpacing="1" leftMargin="10" rightMargin="10" topMargin="10" bottomMargin="10" uuid="0dd970d6-f806-4840-b94d-1fa72ac4eb5f">    <property name="ireport.zoom" value="1.0"/>    <property name="ireport.x" value="0"/>    <property name="ireport.y" value="13"/>    <queryString language="SQL">        <![CDATA[select* from send]]>    </queryString>    <field name="name" class="java.lang.String">        <fieldDescription><![CDATA[]]></fieldDescription>    </field>        <group name="name">        <groupExpression><![CDATA[$F{name}]]></groupExpression>    </group>    <detail>        <band height="276" splitType="Stretch">            <textField>                <reportElement x="14" y="11" width="14" height="252" uuid="3bb01f3c-dbe2-4d34-b9de-a1bc9df7f1a1"/>                <textElement>                    <font fontName="標楷體" size="18" pdfFontName="MHei-Medium" pdfEncoding="UniCNS-UCS2-V" isPdfEmbedded="true"/>                </textElement>                <textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>            </textField>        </band>        <band height="276"/>    </detail></jasperReport>..[/code]

thanks

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