Slow Loading of the Data Entry Page Caused by Too Many Button Widgets

  • Last update:December 11, 2025
  • Overview

    Problem

    When you set button widgets that follow data expansion in a template, and the data volume is large, the page will be loaded slowly due to the slow rendering speed of the button widgets.

    Solution

    In some scenarios, hyperlinks can be used to replace buttons to achieve certain functions, such as inserting and deleting rows.

    1.2 解决方案.gif

    Example

    Designing the Template

    Design the template, as shown in the following figure:

    2.1 设计模板.png

    Setting the Hyperlink for Inserting a Row

    Select cell D2, and add a hyperlink of the JavaScript (JS) type. Add a parameter in the Parameter area, with the parameter name set to row, and the parameter value set to =row()-1.

    2.2 设置插入行超链.png

    The JS code is as follows:

    var cell=FR.columnRow2CellStr({col:0, row:row});
    //Get the cell ID of the first column in the current row.
    _g().appendReportRC(1,cell);
    //Insert a row. Ensure that the value of the cell parameter is set to the root parent cell.

    Setting the Hyperlink for Deleting a Row

    Select cell E2, and add a hyperlink of the JS type. Add a parameter in the Parameter area, with the parameter name set to row, and the parameter value set to =row()-1.

    2.3 设置删除行超链.png

    The JS code is as follows:

    var cell=FR.columnRow2CellStr({col:0, row:row});
    //Get the cell ID of the first column in the current row.
    _g().deleteReportRC(cell);
    //Delete a row. Ensure that the value of the cell parameter is set to the root parent cell.
    iconNote:
    The row deletion action only removes the data from the data entry page and will not affect the database data before submission.

    Setting the Policy of Inserting a Row

    Select cells D2 and E2, and set Row Insert Policy to Original.

    2.4 设置插入行策略.png

    Effect Display

    效果预览.gif

    Template Download

    Download the template by clicking Inserting or Deleting a Row by Hyperlinks with JS.cpt.

    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