Radio Button Group Widget

  • Last update:  2020-12-01
  • I. Overview

    1) The Radio Button Group widget allows the users to select an option for data query.

    2) Considering options are explicitly displayed on the parameter pane, it is more suitable to use the Radio Button Group widget in the query scenario with fewer options, such as Yes or No, Male or Female.

    II. Steps

    1.Drag the widget

    1) Click on the Radio Button Group widget and drag it into the parameter pane. The widget name defaults to radioGroup0.

     

    2) You are allowed to change the widget name. The widget name is used to bind the widget to a certain parameter. Specifically, the widget will be bound with a parameter when they have the same name. In the Preview mode, the values selected with the widget will be passed to the parameter.


    2. Disable the widget

    1) Check [Enabled]. In the Preview mode, you are allowed to check the options the widget displays.

    2) Uncheck [Enabled]. In the Preview mode, the widget has a shallow color and you are not allowed to check the options the widget displays.

     


    3. Hide the widget

    1) Check [Visible]. In the Preview mode, the widget is visible.

    2) Uncheck [Visible]. In the Preview mode, the widget is not visible.

    3.gif


    4. Widget value: String

    1) Widget value refers to the option selected by default in the Preview mode, which can be string, field or formula.

    2) Type “Jiangsu” in the text box.

    3) Preview. The option of Jiangsu is checked by default.

    2.gif


    5. Widget value: Field

    1) Select [Field] as the widget value.

    2) Select the dataset [ds2] and the field [Region].

    3) Preview.


    6. Widget value: Formula

    1) Select [Formula] as the widget value. Click on the [=] and a Formula Definition window pops up. Input the following formula in the text value("ds2",1,1).

    2) Preview.

     


    7. Data dictionary

    1) In the Preview mode, the options of the widget are set with the data dictionary.  The type of the data dictionary includes database table, data query, custom and formula.

    2) Click on […] after [Data Dictionary] to configure the settings.


    8.Data dictionary: Database table

    1) Settings of the data dictionary:

    • Type: Database table

    • Database: FRDemoEN

    • Database table: Sales_Basic

    • Actual value and display value: Region

    1.gif

     2) Preview. The options are regions.


    9. Data dictionary: Data query

    1) Settings of the data dictionary:

    • Type: Data query

    • Dataset: ds1

    • Actual value and display value: Region

    2) Preview.


    10. Data dictionary: Custom

    1) Settings of the data dictionary:

    • Type:  Custom

    • Enter the actual value and the display value as shown in the figure below. In the first row, set the actual value to 1 and the display value to male. In the second row, set the actual value to 0 and the display value to female.

    2) Preview.


    11.  Data dictionary: Formula

    1) Settings of the data dictionary:

    • Type: Formula

    • Click on the formula icon after [Actual Value] and input the following formula in the text box: ARRAY("Male","Female"). Do not edit the formula for the display value, so that the display value will be equal to the actual value.

    2) Preview.


    12. Font size

    1) You are allowed to change the font size.

    2) The font size is 12 by default.


    13. Option layout: Adaptive

    1) Check [Adaptive] and the widget layout will be adaptive to its size.

    2) If the widget is too small, put your cursor onto any of its border line and the cursor will change into a double-sided arrow, then click and drag.

     


    14. Option layout: Number of column displayed

    1) If [Adaptive] is unchecked, [Number of column displayed] will appear below [Adaptive], which is 0 by default.

    2) By setting the number of column displayed to 1, the options will line up in a column in the Preview mode.


    15. Allow returning a null

    1) If [Allow Null] is checked, it allows you to make a query without displaying any option.

    2) In the Preview mode, no option is checked and no error tip pops up after clicking on Query.

     


    16. Not allow returning a null

    1) If [Allow Null] is unchecked, select at least one option for query.

    2) In the Preview mode, no option is checked and an error tip pops up on the right side of the browser window after clicking on Query.


    17. Widget position

    1) Widget position refers to the coordinates of the widget in the parameter pane.

    2) Manually input the widget coordinates or directly drag the widget to any position at your option.


    18.  Widget size

    1) To resize the widget, put your cursor onto a border line and the cursor will change into a streamlined arrow, then click and drag.

    2) Directly input the width and height of the widget.


    Attachment List


    Theme: Parameter
    • 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