Methods for Hiding the Toolbar

  • Last update:December 25, 2024
  • Overview

    Version

    Report Server VersionFunctional Change
    11.0

    /

    Expected Effect

    You can hide the report toolbar in actual use.

    Implementation Method

    Methods for hiding the toolbar:

    • Deselect Use Toolbar under Template > Web Attribute > Pagination Preview Setting.

    • Add a Loading End event with the JS code under Template > Web Attribute > Pagination Preview Setting.

    For details about JS APIs related to the toolbar, see Toolbar API.

    Example One: Deselecting the Use Toolbar Option

    Template Creation

    Create a general report.

    Toolbar Setting

    Choose Template > Web Attribute > Pagination Preview Setting, set Following Settings to Set for This Template Separately, and deselect Use Toolbar, as shown in the following figure.

    2024-12-25_10-24-34.png

    Effect Display

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

    2024-12-25_10-26-12.png

    Example Two: Adding a JS Event

    Template Creation

    Create a general report.

    Event Addition

    Choose Template > Web Attribute > Pagination Preview Setting, set Following Settings to Set for This Template Separately, and add a Loading End event, as shown in the following figure.

    2024-12-25_10-30-04.png

    The JS code is as follows:

    _g().getToolbar().setVisible(false);

    Effect Display

    Save the template and click Pagination Preview. The section "Effect Display" shows the effect.


    Attachment List


    Theme: Report Application
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

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

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

    不再提示

    7s后關閉

    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