Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the operation method of iReport custom row paging

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces "what is the operation method of iReport custom line paging". In the daily operation, I believe that many people have doubts about the operation method of iReport custom line paging. The editor consulted all kinds of data and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts of "what is the operation method of iReport custom line paging?" Next, please follow the editor to study!

IReport is a visual report designer designed for JasperReports Library and JasperReports Server. IReport is an open source project that can create complex reports. It is written 100% in the Java language. Is the most popular open source report designer in the world.

Ireport defaults to automatically paging data to the next page when it exceeds the page length, but sometimes the business needs to customize the number of entries when it needs to display only a fixed number of lines on a page. Let's look at the specific operation.

1: add a variable to Variables first

2: edit the attribute. The expression of the variable is "new Integer (" 1 ")", and the evaluation type is "count" other default.

3: add a "Break" (page separator).

4: the page break modifies its property "print when expression" with the expression "new Boolean ($V {index} .intValue ()% 5values 0)".

Ireport defaults to automatically paging data to the next page when it exceeds the page length, but sometimes the business needs to customize the number of entries when it needs to display only a fixed number of lines on a page. Let's look at the specific operation.

1: add a variable to Variables first

2: edit the attribute. The expression of the variable is "new Integer (" 1 ")", and the evaluation type is "count" other default.

3: add a "Break" (page separator).

4: the page break modifies its property "print when expression" with the expression "new Boolean ($V {index} .intValue () = = 0)".

At this point, on the "iReport custom line paging method is what is the end of the study, I hope to be able to solve everyone's doubts." The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report