Version
Version | Functional Change |
---|---|
11.0 | Difference from 10.0: Supported by 10.0, 10.0.19, and later versions. |
11.0.6 | Allowed you to use setHScrollBarVisible and setVScrollBarVisible APIs in FVS plugins of V1.8.0 and later versions. |
setHScrollBarVisible
API | setHScrollBarVisible(visibility) | To display/hide the horizontal scrollbar. ![]() |
---|---|---|
Parameter | visibility: boolean | The parameter (a boolean) that represents whether to display the scrollbar, with the default value true. true: to display false: to hide |
Returned Value | void | |
Example | Example 1: You can hide the horizontal scrollbar of the obtained report block object that is defined as report. report.setHScrollBarVisible(false); Example 2: In a general report, you can hide the horizontal scrollbar. _g().setHScrollBarVisible(false); ![]() Example 3: In a FRM report, you can hide the horizontal scrollbar of the report block named report0. _g().getWidgetByName('report0').setHScrollBarVisible(false); Example 4: In an FVS visualization dashboard, you can hide the horizontal scrollbar of the component Table1. duchamp.getWidgetByName("Table1").setHScrollBarVisible(false); ![]() setTimeout(function(){ _g().getWidgetByName('report0').setHScrollBarVisible(false); }, 500); | |
Application Example | In an FRM report, you can hide the horizontal scrollbar of the report block named report0. For details, you can download the template Hiding the Horizontal Scrollbar.frm | |
Mobile Terminal | This API is supported on mobile terminals. |
setVScrollBarVisible
API | setVScrollBarVisible(visibility) | To display/hide the vertical scrollbar.
![]() In an FRM report of the new version, you can scroll the report by scrolling the mouse wheel when the scrollbar is hidden. In an FRM report of the old version, you cannot scroll the report by scrolling the mouse wheel when the scrollbar is hidden. |
---|---|---|
Parameter | visibility: boolean | The parameter (a boolean) that represents whether to display the scrollbar, with the default value true. true: to display false: to hide |
Returned Value | void | |
Example | Example 1: You can hide the vertical scrollbar of the obtained report block object that is defined as report. report.setVScrollBarVisible(false); Example 2: In a general report, you can hide the vertical scrollbar. _g().setHScrollBarVisible(false); ![]() Example 3: In an FRM report, you can hide the vertical scrollbar of the report block named report0. _g().getWidgetByName('report0').setVScrollBarVisible(false); Example 4: In an FVS visualization dashboard, you can hide the vertical scrollbar of the component Table1. duchamp.getWidgetByName("Table1").setVScrollBarVisible(false); ![]() setTimeout(function(){ _g().getWidgetByName('report0').setVScrollBarVisible(false); }, 500); | |
Application Example | In an FRM report, you can hide the vertical scrollbar of the report block named report0. For details, you can download the template Hiding the Vertical Scrollbar.frm | |
Mobile Terminal | This API is supported on mobile terminals. |