[General] JS Hidden Part Tab

  • Last update:  2021-12-24
  • I. Overview

    1. Version

     App version HTML5 version 
      App9.3 and later & App10.0 6.0 and later


    2. JS interface

    pass through setTabVisible(tabName String, isVisible Boolean)Can hide part of Tab title

      Parametertype    Instruction
      tabName  String  Required, the name of the Tab control, such as Tab0
      isVisible  Boolean  Required, whether Tab is visible, true visible/false hidden

    II. Examples

    1. Template settings

    Create a new decision report, add a tab block, add three Tab controls, and then add a button below, as shown below:

    1.png

    Add a click event to the button, as shown in the following figure:

    2.png

    Code show as below:

    this.options.form.getWidgetByName("tabpane0").setTabVisible("Tab1",false)

    2. Preview of mobile effects

    Add the template to the decision-making system, and access the template on the mobile terminal. The preview effect on the App and HTML5 terminal is as follows:

    3.gif

    III. Template

    For the completed template, see: %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\JS\setTabVisible.frm

    Completed template: 

    setTabVisible.frm

    Attachment List


    Theme: Fine Mobile
    • 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