I. Version
App version | HTML5 version |
---|---|
App10.1 and later | 10.1 and later |
II. Description
Pass through showCardByIndex(Number cardID) Can jump to the specified Tab block
parameter | type | instruction |
---|---|---|
cardID | Number | Required, the displayed Tab number, starting from 0 |
III. Examples
1. Template settings
Create a new decision report, add a Tab, add two Tab widgets, and drag the chart into the Tab block (it is convenient to distinguish the Tab block when jumping), as shown in the following figure:
Select the body block and add the initialization event, as shown in the figure below:
2. Mobile effect
1) App preview effect
Add the template to the decision-making system, and access the template on the mobile terminal. App preview effects are as follows:
2) H5 preview effect
IV. Template download
For the completed template, see: %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\JS\[General]_JS_Jump _to_Specify_Tab_Block.frm
Click to download the template: