cool3690 Posted January 24, 2019 Share Posted January 24, 2019 hey,thereI have a problem https://drive.google.com/file/d/17eG2s8iGk66L-Av2Pw3vlW0dEa_BVmCR/viewthis is my reportit have 18 columns(9x2)I have use mysql every column has show a namebut when I show 10 nameit will jump to next pagebut I hope I can jump to column10how can I do to jump column10please help me thanks Link to comment Share on other sites More sharing options...
akovach Posted January 24, 2019 Share Posted January 24, 2019 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 pageRegards, Alex Link to comment Share on other sites More sharing options...
cool3690 Posted January 25, 2019 Author Share Posted January 25, 2019 hello Alex akovachhttps://drive.google.com/open?id=1IXuZos3Yo2W90hlaudpnQ0Z0k19UKU_SI have check Ignore Paginationbut name only show in column 1column 2-18 name,all disappearand also not show in next page how I can slove the problemthanks Link to comment Share on other sites More sharing options...
hozawa Posted January 25, 2019 Share Posted January 25, 2019 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. Link to comment Share on other sites More sharing options...
cool3690 Posted January 25, 2019 Author Share Posted January 25, 2019 hello hozawa: I have try your advice"Print Order" to "Horizontal" in "Page Format" .but still failit only show name in column 1-9but cant show 10-18 columnwhat 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now