Pagination Preview

  • Last update:  2022-02-08
  • I. Overview

    1. Version

    Report server version
    10.0

    2. Application scenarios

    "Pagination Preview" is the default preview mode of FineReport, which is generally used when you only need to view report data.


    3. Function introduction

    1) Open the designer and double-click to open the built-in GettingStartedEN.cpt Template, and click preview button on the designer interface to access the report, as shown in the figure below:

    2.1.png

    Note: there are five preview modes under this button: pagination preview, data entry preview, data analysis preview, new data entry preview, and mobile terminal preview. The default mode is pagination preview.

    2) After clicking "paginstion preview", a report will be opened in the browser, as shown in the figure below:

    2.2.png

    Note: GettingStarted.cpt has a parameter drop-down control. You need to click query first, and then the data will appear.

    II. Function Settings

    The pagination preview settings page is only valid for the pagination preview template.

    In the designer, click template > Web attributes > pagination preview settings to set the pagination preview interface. As shown in the figure below:

    3.png

    The main function modules are as follows:

    FunctionContentPrecautions
    Following setting

    The first step of page setup, you can select the use server report setting, or you can individually set for the template.

    -
    Report display location

    Set the location of the report in the browser

    Mobile terminal does not support

    Page

    Some special settings of the page

    -

    Toolbar

    You can set whether to display the toolbar and customize the contents of the toolbar


    Mobile terminal does not support
    Event settings

    Users can add Web events. See webpage events for details.

    Mobile terminal only supports start loading and loading end events.

    1. Setting mode

    1) Use server report settings

    The default setting method is "Use server report settings". The bottom functions are grayed out and cannot be edited. This method works on all templates in the current server.

    3.1.png

    If you want to modify the pre-defined pagination preview settings of the server, you can click server > server configuration manager in the designer menu bar and select pagination preview settings in the report server parameter.

    截屏2021-01-22 下午1.42.15.png

    2) Individually set for the template

    When you select "Individually set for the template" from the setting method drop-down box, you can directly edit the functions below. The configured page only works on the current template, and other templates are not available.

    截屏2021-01-22 下午1.42.33.png


    2. Report display location

    Set the display position of the report preview in the browser, which is divided into "center" and "left". The default is "left", as shown in the following figure:

    截屏2021-01-22 下午1.43.05.png

    Center display

    Left display



    3. Page setup

    Some special settings for the preview page are shown in the following figure:

    截屏2021-01-22 下午2.30.06.png

    1) Display as image: when paging preview, a report in picture form will be generated.

    2) Auto scale when iframe is embedded: when the template is embedded into other templates in the form of iframe, the template size will be automatically adjusted during preview to adapt to the size of iframe.

    After checking "auto shrink when iframe is embedded" for embedded template:

    3) Heavy TD: control the row height and column width of the cell, which does not change with the content.


    4. Toolbar

    1) display toolbar

    The system checks the use toolbar by default, that is, the toolbar will be displayed at the top when data entry preview. If you need to hide the toolbar, just remove the check.

    截屏2021-01-22 下午2.37.10.png

    2) Add tools

    Double click the tool to add it to the top toolbar.

    After selecting the tool, click image.png to add the tool to the top toolbar, and click image.png to add the tool to the bottom toolbar.

    Click "restore default" to restore the original state.

    3) custom toolbar

    Click image.png on the right side of the toolbar to enter the toolbar editing interface, as shown in the following above

    In the editing interface, you can modify the added tool properties and sort, delete a single tool, and customize the background of the toolbar. As shown in the figure below:

    截屏2021-01-22 下午2.41.25.png

    The default toolbar background is "no background". Click background > color to set the background, there are also "texture", "pattern", "gradient color" and "picture", the effect is as follows:

    4) Delete tool

    The designer provides two deletion methods, as follows:

    The first is deleting all tools.

    Click image.png on the right side of the toolbar, you can clear all the tools in the toolbar, as shown in the following figure:

    截屏2021-01-22 下午2.45.34.png

    The second is deleting single tool.

    Click image.png on the right side of the toolbar to delete a single tool through image.png in the toolbar editing interface, as shown in the following figure:

    截屏2021-01-22 下午2.47.20.png


    5. Event settings

    Click image.png under event settings, JS events can be added to achieve other preview requirements through JavaScript code. For details, see: Webpage events.

    截屏2021-01-22 下午2.48.31.png

    Attachment List


    Theme: Report Application
    • 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