Overview
Version
Report Server Version | Functional Change |
11.0 | / |
11.0.5 | Added the Trigger Edit Exit Event function. For details, see "Attribute." |
Functions
This document introduces the attributes of the parameter panel in general reports. For details about the introduction to the parameter panel in dashboards, see Dashboard Parameter Panel.
Component Setting
Add a general report and go to the parameter panel, whose attribute is shown in the following figure.
Attribute
The settings of the parameter panel under the Attribute tab are shown in the following figure.
Settings | Explanation |
Widget Name | You can customize the widget name. |
Label Name | You can customize the label name. |
Background | The default parameter background color is grey. To unify the styles between the parameter panel and the report or achieve other effects, you can customize the parameter panel background. |
Display Nothing Before Query | 1. Checked: In the case of defining parameters, the report is not displayed in direct preview. You need to manually click the Query button to query reports. 2. Unchecked: You need to set a default value for the parameter. The system automatically performs the first query through the default parameter value and displays the report when you preview.
|
Use Common Parameter Combination | For details, see Common Parameter Combination for Templates. |
Trigger Edit Exit Event | You can configure this option (added in FineReport V11.0.5 and later versions) after checking Use Common Parameter Combination. Checked: The edit exit events of relevant widgets are triggered when common parameter combinations are triggered. Unchecked: The edit exit events of relevant widgets are not triggered. |
Display Position | The parameter panel can be set to display on the left, center, or right.
|
Size | You can customize the design width of the parameter panel.
|
Event
The Event tab page of the parameter panel is shown in the following figure.
Event Introduction
There are two events that can be set—After Initialization and Click.
After Initialization: It is triggered after the template preview.
Click: It is triggered after you click anywhere on the parameter panel.
Example for After Initialization
1. Create a general report, add a drop-down box widget, and add an After Initialization event on the parameter panel.
The JavaScript code is as follows.
alert("123")
2. Save the template and click Pagination Preview.
Mobile Terminal
The Event tab page of the parameter panel is shown in the following figure.
The specific introduction is as follows:
On Mobile Terminal, the default parameter page of the template is called through the funnel filter button on the bottom of the report. You can click the button to jump to a new page and edit the parameters. Then you can perform a query. If you are not accustomed to such interaction, you can install the top parameter panel plugin, which can fix the parameter panel on the top. For details, see [General] Top Parameter Panel Plugin.
Component Order: All components are displayed here. You can change component locations on mobile terminals by clicking the , , and icons.
Adjusting the Size of Parameter Panel
Adjusting Height
You can set the parameter height on the B/S end on the parameter panel.
You can drag the grey part (the parameter page boundary) to adjust the parameter panel height.
Adjusting Width
You can adjust the parameter page width (default value as 960) in Attibute.
Notes
Problem
The switch between the parameter panel and the design page is achieved by clicking the icon in the shaded area. If the parameter page is too high, you cannot switch to the design page because of the invisible icon.
Solution
You are advised to pull up the design page until you can view the icon. Click the icon to switch.
Hiding Parameter Panel
You can click the icon to hide the parameter panel during preview.
If you need to hide the entire parameter panel including the icon, you can refer to Method to Hide Parameter Panel.