CheckBox Tree Control

CheckBox Tree is a multi-level checkbox control with various elements having a parent-child relationship between them. Users can get many binary choices to make. It captures the user input from a specified list of permitted options, and these options can have child options within them. It captures multiple choices.

UI Properties

Info

  • Unique Name: A Unique Name is used to uniquely identify a control in your App. Every control that is added on the screen gets an auto-generated Unique Name on the basis of the Label name given to the control.

  • Label: The text that is displayed helps the user to understand the type of control it represents.

  • Tooltip: The option to add tooltip text as a hint to the user. It is visible when you switch on the visibility toggle property.

  • Description: The option to provide a description that you can add for your control. It is visible when you switch on the visibility toggle property.

  • External CSS: With this property, one can imply exclusive CSS on controls. You can customize your control with CSS by selecting the correct class or id of the control. You can read more here.

  • Caching: When the caching option is selected and if a LOOKUP formula is applied to this control, the value that the LOOKUP returns will be cached and the user will be able to see this value in the fields even when he accesses the microapp later with no connectivity. This option is required when you want your app to be accessible in offline mode as well and getting the latest data from the sheets is not always critical.

  • Hidden: The hidden option helps to hide control from the user. This helps when you don’t want the user to view the control.

  • Trigger Dependents: When you Disable Trigger Dependents, it helps you to reduce or optimize the unnecessary evaluation of the dependent control’s formula. For a detailed explanation refer to this article here. By default, Trigger dependents are enabled. However, in complex apps by switching it off, you would limit the evaluation in the dependent control and in turn ensure quicker response times.

  • Hide on desktop: This option hides the selected control in the desktop view.

  • Hide on Mobile: This option hides the selected control in the mobile view.

  • Dynamic Height: This option dynamically increases /decreases the height of the text control based on the given content.

  • Maintain space when hidden: This option maintains the specified space between controls when a particular control is hidden. When control is hidden the space is maintained in the preceding control depending on the space the previous control has occupied.

Note: Hide on desktop, Hide on Mobile, Dynamic Height and Maintain space when hidden are
available in Basic Freeflow Editor Only.

Properties

Under this section, we get a few options related to formatting our checkbox. It includes size, weight, color, and more.

  • Theme Color: Here the user can set the theme color of the checkbox. The color of check mark will be the same as the theme.

image

  • Return Type: The return type option enables us to select the return type of the data from the CheckBox tree Control, which can be further used in the app by other controls. We can opt from path string, path array, and selected values in the Return Type section.

image

How to use CheckBox Tree control

Select CheckBox Tree under Advanced section from Controls .

Bind Data to CheckBox Tree Control

Under the Bind Data, we get various options to bind our CheckBox Tree Control with data, such as sheets, controls, variables, connectors, and more.

Using CheckBox Tree Control

You can see that by adding more elements we can create more than one tree of checkboxes.

In the above image, the return type is selected value only.

In the above image, the return type is string.

In the above image, the return type is Array.