jasperreport生成pdf_jasperreport 导出excel_jasperreport json(26)

电脑杂谈  发布时间:2017-02-04 10:28:36  来源:网络整理

ordered accordingly to the group expressions used in the report.

For example, if you want to group some products by country and city of the manufacturer,

the engine expects to find the records in the data source already ordered by country and city.

If not, you should expect to find records belonging to a specific country or city in different

parts of the resulting document, because JasperReports does not sort the data source for you,

before using it.

The JasperReports Ultimate Guide

Page 41

XML Syntax

<!ELEMENT group (groupExpression?, groupHeader?, groupFooter?)>

<!ATTLIST group

name NMTOKEN #REQUIRED

isStartNewColumn (true | false) "false"

isStartNewPage (true | false) "false"

isResetPageNumber (true | false) "false"

isReprintHeaderOnEachPage (true | false) "false"

minHeightToStartNewPage NMTOKEN "0"

>

<!ELEMENT groupExpression (#PCDATA)>

<!ELEMENT groupHeader (band?)>

<!ELEMENT groupFooter (band?)>

Group Name

The name unequivocally identifies the group and can be used in other XML attributes, when you want

to refer a particular report group. The name of a group is mandatory and obeys the same naming

convention that we mentioned for the report parameters, fields and report variables.

Starting New Page/Column When Group Breaks

Sometimes is useful to introduce a page or column break when a new group starts, probably because

that particular group is more important and should start on a page or column of its own.

To instruct the engine to start a new page or column for a certain group, instead of going to print it on


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-30468-26.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...