Data Entry Pagination 

  • Last update:  2022-01-21
  • I. Overview

    1. Problem description

    When data entry preview, all the data are displayed on one page. If the amount of data is too large, due to the performance limitations of the front-end browser, it will be very slow to display all the data, which will greatly affect the user experience.

    So can data entry preview be displayed in pages like pagination preview, so as to improve the speed? The effect is as follows:

    Kapture 2021-01-13 at 10.22.39.gif


    2. Solution

    Under data entry preview (op = write), use__ cutpage__ =vparameter (i.e. add after URL)&__ cutpage__ =v) To enable pagination.

    Note 1: This method does not support new fill preview and mobile terminal, does not support column paging (post-column paging and pre-column paging) , and does not support page number functions $$page_number and $$totalPage_number after paging.

    Note 2: __ is two underscores

    II. Examples

    1. Data preparation

    Create a new general report and a new database query dataset. The SQL statement is: select * from orders limit 200


    2. Design template

    Design the data entry form, drag the data set fields to the corresponding cells, and add text controls to A2 ~ F2 cells, as shown in the following figure:

    截屏2021-01-13 上午10.29.10.png


    3. Setting Pagination after row

    Pagination after row is set to limit how many rows of data are displayed on each page, which is realized by pagination > pagination after row condition attribute. The formula is: (row () - 1)% 20 = 0, where the 20 can be adjusted to any number you want to display on one page, as shown in the following figure:

    Note: The -1 in this formula is because there is a row header title in the example, so it needs to be subtracted and not involved in the calculation. In actual application, please reduce the row according to the number of rows in your own report header!



    4. Effect preview

    Save the template, click data entry peview, and add parameters after the URL&__ cutpage__ =v and refresh the page, the result is as shown in the figure below:

    III. Template download

    Completed template, please refer to

    %fr_HOME%\webapps\webroot\WEB-INF\reportlets\doc-EN\DataEntry\DataEntryApplication\Pagination.cpt

    Click download template: 

    Pagination.cpt

    IV. Precautions

    1. The platform is mounted to open the data entry pagination

    If paging is required to mount the pagination template in the platform, it can be implemented in the parameter settings. parameter name is__cutpage__=v, type is string, value is v

    2.png


    2. Freeze the header row

    If you want the title part to remain unchanged after turning the page, you can set the freeze, as shown in the following figure:

    3.png


    Attachment List


    Theme: Data Entry
    • 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