JS Change the Length of Cell Display Area in Toolbar

  • Last update:December 30, 2020
  • I. Description

    When using the Data Entry Preview, select the cell and the value will be displayed in the upper toolbar. However, if the cell has a lot of text and the width of the toolbar is not enough, the value will be displayed incompletely, as shown in the figure:

    1.png

    II. Ideas

    You can use Loading End event to customize the length of the cell display area.

    III. Operation Steps

    Click Template > Web Attributes > Data Entry Settings, choose Indivisually for the template, add a Loading End event, and customize the length of the cell display area.

    The code is shown as below:

    $("pre").parents("div:first").css("width",300).end().parents("table:first").css("width",300);

    IV. Preview the Effect

    Save the template, select Data Entry Preview, and select the cell. The effect is as follows:

    3.png

    Note: The mobile terminal does not support this effect.

    V. Completed Template

    Attachment List


    Theme: Report Application
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    9s后關閉

    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