Successfully!

Error!

You are viewing 10.0 help doc. More details are displayed in the latest help doc

Parameter Pane Introduction

I. Overview

This article will introduce the properties of parameter pane in normal report. For the introduction of parameter interface in decision report, please refer to: parameter pane style

II. Component settings

Create a new general report and enter the parameter panel. The properties of the parameter panel are shown in the following figure:

2.png 


1. Attribute

Under the Arributes tab, the settings of the parameter pane are described in the following table:

Set item

Description

Component name

Customizable component name

Label name

Customizable label name

background

The default background color for parameters is gray

If you need to customize the background parameters of the report panel, you can achieve the same effect as the report background.

Do not display report content before clicking query

1)Check the Do not display report content before clicking query' button

In the case of defining parameters, users need to manually click the "Query" button to display the report results

2)Uncheck the Do not display report content before clicking query' button

You need to set default values for the parameters, uncheck the Do not display report content before clicking the querybutton, and click Preview to automatically use the default values of the parameters to perform the first query and display the report .

Note: When setting "Show report content before clicking on query", you must set default values for the parameters, otherwise it will be filtered according to the null value when it is displayed for the first time.

Use common parameter combinations

Please refer to Common Template Parameter Combination for details

Display location

The display position of parameter interface can be set to left, center and right

Note: the display position of the parameter interface is left, right or center by the width of the parameter interface, not the page width of the browser

Size

Design width of customizable parameter panel


2. Events

TheEvents tab page of the parameter panel is shown in the following figure:

2.2.png 

1) Events introduction

You can add post initialization events and click events for the parameter pane

  • Event after initialization: triggered after previewing the template.

  • Click event: it is triggered after clicking anywhere in the parameter panel.

2) Post initialization event example

To create a new general report, add a drop-down box widget in the parameter panel and an event after initialization in the parameter panel, as shown in the following figure:

222.png

The JavaScript is as follows:

alert("123")

Save the template and click page preview, as shown in the figure below:

2222.png

 

3. Mobile terminal

The mobile tab page of the parameter panel is shown in the following figure:

2.3.png 

The details are as follows:

  • In the mobile terminal, the template default parameter interface is called through the funnel Filter button in the bottom parameter interface. After clicking, it will jump to a new page to edit parameters, and then query.If users are not used to such interaction, they can install the top Top Parameter Panel Plugin and fix the parameter panel on the top.

  • Control order: display all controls, support to move the position of each control (the position displayed on the mobile end).

III. Adjust the size of the parameter interface

1. Adjust the height

In the parameter interface panel, you can set the height of the parameter at the B s end, as shown in the following figure:

3.1.png

The gray part is the boundary of the parameter interface, and the height of the parameter interface can be adjusted by dragging the gray part.


2. Adjust the width

Adjust the width of the parameter interface from the property sheet. The default design width is 960, as shown in the following figure:

3.2.png

 

3. Note

Problem Description:

The switch between parameter panel and design page is realized by clicking the Edit button in the shadow part. When the height of the parameter interface is large, you can't see the Edit button in the shadow part, and you can't switch to the design page.As shown in the figure below:

截屏2020-12-31 下午4.44.47.png

Solution:

It is recommended to pull up the design page and click the Edit button to switch.As shown in the figure below:

2.gif


IV. Hide parameters pane

When the parameter panel is previewing, you can click the "show hide button" to hide the parameter panel, as shown in the following figure:

3.gif 

If you want the whole parameter panel to be completely hidden (including the small arrow), you can refer to Method to hide the parameter panel

 


Attachment List


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

Doc Feedback