Hiding the Small Arrow of the Parameter Panel

  • Last update:December 02, 2025
  • Overview

    Version

    Report Server Version

    11.0

    Expected Effect

    When there is a parameter panel in the report, the parameter panel will display a small arrow by default. To achieve a seamless connection between the parameter panel and the main body of the report, you need to hide the triangular arrow at the junction of the parameter panel and the report body. The following figure shows the effect.

    1.2预期效果.png

    Implementation Method

    After the template is loaded, get the DOM element of the small arrow of the parameter panel through JavaScript (JS), and then set the DOM element to be hidden or remove it directly.

    (1) Hide button

    $('.parameter-container-collapseimg-up').hide();//When the report is of the
    FR11 style, use $(".x-icon.b-font.horizon-center.display-block.report-main-parameter-container-collapseimg-up").hide().

    (2) Delete button

    $('.parameter-container-collapseimg-up').remove();//When the report is of the
    FR11 style, use $(".x-icon.b-font.horizon-center.display-block.report-main-parameter-container-collapseimg-up").remove().
    iconNote:

    1. The effect cannot be previewed on mobile terminals.

    2. The FRM reports cannot implement the effect.

    Example

    Template Preparation

    Create a new general report template, and add two widgets to the parameter panel to display the parameter panel, as shown in the following figure.

    2.1 准备模板.png

    Event Adding

    Click the parameter panel editing page, select para in the Component Setting area on the right, and add an After Initialization event on the Event tab page, as shown in the following figure.

    2.2 添加事件(1.png

    For the report of the Classic style, the JS code is as follows:

    //Delay the execution.
    setTimeout(function() {
       //Hide the small arrow of the parameter panel.
       $('.parameter-container-collapseimg-up').hide();  
    }, 10);  
    //Delete the small arrow of the parameter panel.
    //$('.parameter-container-collapseimg-up').remove();

    For the report of the FR11 style, the JS code is as follows:

    //Delay the execution.
    setTimeout(function() {
       //Hide the small arrow of the parameter panel.
       $('.report-main-parameter-container-resizable').hide();  
    }, 10);  
    //Delete the small arrow of the parameter panel.
    //$('.report-main-parameter-container-resizable').remove();  

    iconNote:
    If the DOM element becomes invalid due to frontend changes caused by installing plugins, you can refer to the following modification methods.

    Preview the report, press F12 or find the developer options of the browser, click the find element, select the triangle button, and view its class attribute value, as shown in the following figure.

    2.2 添加事件(2.png

    Effect Display

    Save the template and click Pagination Preview. The following figure shows the effect.

    Note: The effect cannot be previewed on mobile terminals.

    Template Download

    Download the template by clicking: Hiding the Small Arrow of the Parameter Panel.cpt.

     


    Attachment List


    Theme: Parameter
    • 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