All Products
Search
Document Center

:Tree Drop

Last Updated:Apr 29, 2024

The tree drop-down is an advanced control that is applicable to complex filling forms. It is often used in cascading scenarios where limited option data is selected.

p724550

Scenarios

The tree drop-down control is often used in scenarios where the drop-down selection cascading option data is selected. For example, you need to select a customer region and the corresponding province and city in the region.

Renderings

p724552

Control configuration

Basic parameters

Parameter

Description

p724554

① Display Title: Select whether to display the title of a single-line text control. You can customize the display name as the column name of the data form.

② Control type: After you select a control, you can replace the control type. The drop-down options can be replaced with other basic and advanced control types.

③ Table Field Name: the name of the corresponding field in the table created based on the data form.

Note

The field or table name must start with a letter and can contain letters, digits, and underscores (_). The name can be up to 40 characters in length.

④ Prompt: Set Prompt. For example, Select.

p504676

⑤ Description: the description of the custom control.

⑥ Description Information Location: Specify the location of the description information. The options are Bottom, Right, and Below.

Default State: specifies the default state of the widget. The valid values are Normal, Read-only, and Hidden.

Option

Parameter

Description

From Select Data Source. image.png

Source: Data Source or Dataset

② Data Source: Select a data source from the drop-down list.

③ Data Table: Select a data table from the drop-down list.

④ Field to be Linked: Select Field to be Linked from the drop-down list.

Note

The levels of the tree drop-down take effect based on the order in which the data fields are added.

p724564

Select Dataset from the Source drop-down list.

image.png

① Source: You can select Data Source or Dataset.

② Dataset: Select a dataset from the drop-down list.

③ Data Field: Select a data field from the Data Field drop-down list.

image.png

Validation

Parameter

Description

image.png

① Required: Select whether to set this configuration items. If you select this option, the control is set to Required.

② Input data invalid prompt text: This configuration items takes effect only when a verification condition takes effect. For example, if Required is selected and no option value is specified, a custom error copy is displayed.

Section

Parameter

Description

单行文本-样式

Widget Width: You can select Default or Whole Line.

Note

You can also use the Manual Drag Control widget to adjust the border width.

树形下拉组件宽度