JS Get Report Toolbar Button

  • Last update:  2020-12-16
  • I. Description

    In the report page, occasionally there is a need to obtain toolbar buttons. Previously, it could only be obtained through contentPane.toolbar.options.items[index] , which was inconvenient. Now we provide two new ways to obtain toolbar buttons. Let’s take obtaining the email button as an example.

    a) The first way:

    var item = contentPane.toolbar.email;

    b) The second way:

    var item = contentPane.toolbar.getWidgetByName("email");

    The following table shows the names of built-in toolbar buttons and their corresponding values

    Button name 

    Value 

     Submit

     submit

     Data validation

     verify

      Home page

      fist

      Previous page

      previous

      Next page

      next

      Last page

      last

      Print (on client)

      flashprint

      Mail

      email

      PDF

      pdf

     Current page/total pages

     pagenavi

     Stash

     stash

     Clear

     clear


    Refer to the original link: https://help.finereport.com/doc-view-1297.html

     


    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