rob.naban Posted April 15, 2015 Posted April 15, 2015 I have a problem when I have some items in a list that is inside the rectangle in the detail band: the rectangle was set to stretch to the height of the band, but when I have a few items, it is not fixed by the end of the band, and he grows according to the amount of items within the rectangle, it also puts some spaces (not null items) and adds a new page repeating all these items on the list, even if all the items already have been printed on the first page.He keep generate second page in blank:<Jr: list xmlns: jr = "http://jasperreports.sourceforge.net/jasperreports/components" xsi: schemaLocation = "http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net /xsd/components.xsd "printOrder =" Vertical "ignoreWidth =" false "> <DatasetRun subdataset = "products2" uuid = "3cb1d634-75e2-43b8-b192-db88e85058f5"> </ DatasetRun> <Jr: listContents height = "7" width = "39"> <TextField isStretchWithOverflow = "true" isBlankWhenNull = "true"> <ReportElement x = "0" y = "0" width = "38" height = "6" uuid = "aad63631-9dbf-45ce-acf9-a0da51198a57"> <Property name = "local_mesure_unitheight" value = "pixel" /> <Property name = "com.jaspersoft.studio.unit.height" value = "px" /> </ ReportElement> <Box> <Toppen linewidth = "0.0" /> <LeftPen linewidth = "0.0" /> <BottomPen linewidth = "0.0" /> <RightPen linewidth = "0.0" /> </ Box> <TextFieldExpression> <! [CDATA [$ {F} cProd]]> </ textFieldExpression> </ TextField> </ Jr: listContents></ Jr: list>[/code]
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