Solution to the Thick Top Border of First Row when Freezing the Title

  • Last update:  2021-02-26
  • I. Description

    When repeated freezes are set for the report, take the %FR_HOME%\webroot\WEB-INF\reportlets\doc\Primary\DetailReport\Details.cpt template as an example, select Template>Repeat And Freeze, as shown in the figure below:

    1.png

    The report preview effect is as follows, the border line between the first row of data and the title row is very thick:2.png

    The reason for this problem is that after the title row is frozen, the text content of the title row is fixed on the page, and the data row is next to the title row, so the lower border of the title row and the upper border of the data row are displayed next to each other. So it looks like this border line is thicker.

    II. Solution

    Select the overall data row and reset the border line

    3.png

    First, click the No to clear all border lines, and then reset the remaining border lines as needed, but the upper border line is not set. The setting effect is shown in the figure:

    4.png

    Preview the effect after confirming, as shown:

    5.png

    You can see that the border line between the header row and the data row is consistent with the rest of the border lines.

    III. Analysis

    Look carefully at the border settings to see. There are 9 button controls in the upper, left and lower parts of the setting for the existence of the border line. The sample effect of the setting interface is a field. There are three horizontal lines and three vertical lines respectively. This is the flexible setting of the border.


    3.1 Upper buttons

    The upper buttons from left to right represent the cancellation of all border lines, the setting of the outermost border lines , and the setting of the inner cross border lines .

    6.png

    Each of these three buttons has only one click state. After clicking, the corresponding setting takes effect. Clicking again cannot cancel the corresponding setting. It can only be canceled by pressing the "No" button. Set the border line of "Inside" and "External" to achieve the effect.

    • "No": It means to cancel the setting of the border line. After the other border setting buttons set the border, if you want to cancel the setting, you can only cancel the effect by clicking the No button.

    • "External": Represents the outermost border of the selected cell. If the cell data itself is expanded, the actual setting is the outermost border of the overall expanded cell.

    7.png

    • "Inside": Represents the innermost border of the selected cell. If the cell data itself is expanded, then what is actually set is the inner border between the expanded rows and columns of the overall expanded cell.

    8.png

    The final display effect can be realized by flexible use of "External" and "Inside" frame settings according to actual needs.


    3.2 Left buttons

    From top to bottom, the left button represents the upper horizontal border line , the middle horizontal border line , and the lower horizontal border line. 

    9.png

    • Upper horizontal border line: Represents the outermost upper border of the selected cell. If the cell data itself is expanded, the actual setting is the outermost upper border of the entire expanded cell, that is, the first row of data Top border effect.

    • Middle horizontal border line: Represents the bottom border of the outermost layer of the selected cell. If the cell data itself is expanded, then the actual setting is the bottom border effect from each expanded cell to the penultimate expanded cell .

    • Bottom border line: Represents the bottom border of the outermost layer of the selected cell. If the cell data itself is expanded, then the bottom border of the outermost layer of the overall expanded cell is actually set, that is, the bottom of the last row of data Border effect.

    The button corresponds to the border line as shown in the figure:

    10.png


    3.3 Lower buttons

    From left to right, the lower buttons represent the left vertical border line , the middle vertical border line (that is, the second vertical border line in the middle of the Tian character), and the right vertical border line.

    11.png

    • Left vertical border line: Represents the outermost left border of the selected cell. If the cell data itself is expanded, the actual setting is the outermost left border of the overall expanded cell, that is, the left border of the first column Border effect.

    • Middle vertical border line: Represents the outermost right border of the selected cell. If the cell data itself is expanded, then the actual setting is the right border effect from each expanded cell to the second-to-last expanded cell .

    • Right vertical border line: Represents the outermost right border of the selected cell. If the cell data itself is expanded, then the actual setting is the outermost right border of the overall expanded cell, which is the right border of the last column of data Border effect.

    The button corresponds to the border line as shown in the figure:

    12.png

    Summary: The above content is a detailed description and analysis of the border settings. In actual applications, flexible settings based on business needs and data expansion scenarios can meet the needs of use!

    Attachment List


    Theme: Report Application
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy