Retaining the Display Value of the Widget in a Cell After Data Entry

  • Last update:June 19, 2025
  • Overview

    Problem

    When you use a widget in a cell for data entry, if you have set Actual Value and Display Value in Data Dictionary of the widget, the actual value is displayed in the cell when the widget is in the blur state after data entry. In this case, how to retain the display value after data entry?

    Implementation Method

    When the widget is in the blur state after data entry, the program will send the actual value corresponding to the entered value of the widget to the cell for display. Therefore, to address the above-mentioned problem, you just need to modify Display of the cell where the widget is located, and set Actual Value and Display Value in Data Dictionary of the cell to match those in Data Dictionary of the widget.

    iconNote:

    1. Actual values are submitted to the database without being affected by the solution.

    2. The solution is not supported if Returned Value's Type is set to String for drop-down checkbox widgets.

    Example

    The example takes the Product table in the built-in database FRDemo as an example.

    Template Design

    Add drop-down box widgets for cells A2 and B2, respectively, as shown in the following figure.

    Set data dictionaries of the widgets in cells A2 and B2, as shown in the following figure.

    Display Setting for the Cell

    Select cell B2, select Data Dictionary under Cell Attribute > Display, and set the data dictionary, as shown in the following figure.

    Effect Display

    Save the template and click Data Entry Preview. The actual value is displayed when the widget in cell A2 is in the blur state, while the display value is displayed when the widget in cell B2 is in the blur state.

    The solution is also supported on mobile terminals. The following figure shows the effect.

    Template Download

    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