Retain the display value after filling the cell widget

  • Last update:  2021-10-21
  • I. Overview

    1) Problem description

    When filling in with a cell widget, if the widget data dictionary sets the actual and display values, the cell will end up displaying the actual values when the widget is out of focus. What if you want to retain the displayed value after filling in?

    2) Implementation roadmap

    When the cell widget is filled in and out of focus, the program sends the actual value corresponding to the input value of the widget to the cell and displays it. Therefore, you only need to modify the Attribute of the cell where the widget resides, set thedata dictionary for it, and set the actual value and display value to be consistent with the widget data dictionary to solve the above problems.

    Note: The actual values submitted to the library are always not affected by the scheme settings

    II. Example

    This section uses the Product table in the built-in database FRDemoEN as an example.

    1) Template design

    Add drop-down box widgets to cells A2 and B2, as shown below:

    1.jpg

    The data dictionaries for widgets in cells A2 and B2 are set as shown below:

    2.jpg

    2) Set the cell attribute

    Select cell B2, select "Data Dictionary" in "Cell Attributes>Display ", as shown below:

    3.jpg

    3) Effect preview

    Save the template and click Data Entry Preview to preview. The A2 widget is out of focus and displays the actual value, while the B2 widget is out of focus and displays the displayed value.

    gif.gif

    III. Download the template

    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