Tree
It is a hierarchical dropdown list, that organizes the data into parent-child format and presents it in a tree-branch view.
Last updated
It is a hierarchical dropdown list, that organizes the data into parent-child format and presents it in a tree-branch view.
Last updated
The JSON-formatted data that is served as the content of the widget. The format must depict the parent-child link among the values, allowing the widget to display in a tree format. The properties of the JSON content as below.
Refers to the field that must be completed by the user, which means the field must be entered with a valid value before submitting the information.
Apart from validating the entry using the regex rule, users can also use this property to write low-code and check other aspects. For example - check if the city selected in the previous field matches the desired value, throw a custom message to the user even before capturing the entry on this field.
This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.
Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied. Shows a red-crossed warning symbol and can be customized to disable the widget according to certain conditions using low-code.
Provide the JSON array of parent-child nodes which the user wants to display the nodes as the expanded list by default.
Toggle this to make all the nodes on the list to be displayed as the expanded list of tree.
This creates a line-link among the nodes, showing the parent-child relation explicitly.
Inserts a leaf icon in front of every last child node, making a difference in their appearance.
This tooltip pops up when the user moves the mouse over the input area of the widget. It is commonly used to hint at the type of input the user needs to provide.
The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.
Represents the caption for the widget in the user interface. It is recommended to keep the label string short and convey the usage of the widget in the UI
This tooltip pops up when the user moves the mouse over the label area of the widget. This is commonly used to provide some extra or important information to the user on the usage of the widget.
The tooltip will be immediately shown when the user's mouse hovers over the widget, and immediately hides when the user's mouse leaves. This information will be contextual, useful, and informative.
Property | Description |
---|---|
Event | Description |
---|---|
Property | Description |
---|---|
Property | Description |
---|---|
Property | Description |
---|---|
Property | Description |
---|---|
label
Label for the node
value
Value for the node which must be unique for the entire content
children
Array of children nodes
disabled
Make the node read-only
selectable
Specify if the node can be selectable
checkable
Specify if the node can be checked, if the type is checkbox
disableCheckbox
Make the node disable, when the type is checkbox
No Select
Hints the user has not selected any option from the tree-list
Single Select
Allows the user to select only one option at a time
Multi Select
The users can pick more than one options from the list
Checkbox
Shows a checkbox as a prefix to each item on the list for the users to select using the checkbox
Label
Set the colour for the label text. Recommended to set in contrast with the background.
Background
Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.
Border Color
Set the colour to the border lines. The border lines will be shown only if that is enabled.
Border Radius
This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.
Text
Set the colour of the options' text. Recommended to set in contrast with the background.
Validation Message
Set the colour of the validation text message. Recommended to set in contrast with the background, usually Red.
Change
Focus
Blur
Left
Top
Left
Right
The "Change" event is activated when the value of the widget is changed. When this event triggers, the associated action gets executed.
This event is triggered when the widget receives focus, meaning it becomes the active element that can accept user input.
This event occurs when the user shifts the focus out of the widget. This can happen in different scenarios, such as when a user clicks outside an input widget they were typing in or when the user tabs to another field.
Shows the label on the left side of the widget entry
Shows the label on top of the widget entry
Align the text on the left corner of the label area
Align the text on the right corner of the label area near the tree view