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

How to realize the folding and stretching effect of grouped report in big data

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article will explain in detail how to achieve folding and scaling effect in grouped reports in big data. The content of the article is of high quality. Therefore, Xiaobian shares it with you for reference. I hope you will have a certain understanding of relevant knowledge after reading this article.

Group statistics is a common form of data analysis in business systems, but when there are many data items or too many levels of grouping, it will be confusing to watch. In order to display the data more clearly, users usually need to expand (collapse) the display effect, so that the classified and summarized data can be presented at a glance.

Dry reports have this scaling feature built in, providing two forms of collapsed reports: tree collapsed reports and OLAP collapsed reports. Report developers no longer need to write JS scripts, only need two steps, design reports, add tag attribute to the jsp page of report display, and then the report with consistent format can be displayed in scalable form.

Let's look at how these two forms of folded reports are implemented in the drying process.

Olap Collapse Report

olap collapse report format requirements: grouping cell and its child cell in the same row, row must be all-inclusive relationship.

The report is designed as follows:

Page Label Settings:

Page display effect:

initial collapse

Node expansion effect

tree collapse report

Tree report format requirements: grouping cell and its child cell are not on the same line, there can be no full inclusion or semi-inclusion relationship on the line.

The report is designed as follows:

The tab settings of the report presentation page are as follows:

Initial page presentation effect:

collapse all collapse all

partial node expansion partial node expansion

The following is a list of attributes about collapsed report labels:

Description:

1. Tree report has no requirement for browser, olap folding table requires IE browser version to be larger than IE9, other browsers are not limited

2, these two ways of showing mutually exclusive, only one can be used at the same time

3. Both tree and Olap folding reports support row and column folding.

4. The foldOnBegin and foldIcon attributes are applicable to both types of collapsed reports.

How to achieve the folding and scaling effect in grouped reports in big data is shared here. I hope the above content can be of some help to everyone and learn more knowledge. If you think the article is good, you can share it so that more people can see it.

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

Internet Technology

Wechat

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

12
Report