Skip to main content

Tabs

The Tabs control offers a structured way to organize and present content in separate sections or tabs, enabling users to access information selectively.

Tabs Control
Tabs Control

Tabs are a versatile tool to compartmentalize information, allowing users to view distinct sections without overwhelming them.

Binding Data Options​

The Tabs control allows the user to select a tab from a specified list of tabs. To populate the Tab control with data, you can use the Bind Data option, which accepts an array of string in JSON format.

Options - Data Binding​

The Tabs control allows you to create tabs from different data sources. Here's an example of using the "Bind Data" option to create tabs with an array of strings:

[
"Tab 1",
"Tab 2",
"Tab 3"
]

Selected Option - Data Binding​

If you want to have a default selected tab in the Tabs control, you can use the "Bind Data - Selected Option" section with the following data:

[
"Tab 2"
]

Properties​

PropertyDescription
Selected ColorIs the color of the selected tab item.
Border ColorIs the color of the bottom borders of the tabs.
Font PropertiesIs the text size, weight ( Light, Normal, Bold, Extra Bold, X Extra Bold), alignment (Left, Center, Right, Justified), and color of the label.
Minimum tab widthSpecifies the minimum width to be maintained for the tab as the number of pixels, as a percentage, or root elements.

Data​

PropertyDescription
TextThe text that appears referring to the tab.
SelectedAllows you to toggle ON or OFF to indicate whether a tab would be selected by default.

Control Outputs​

The outputs from the Tabs control, represented by {{tabs}}, can be referenced in other controls, data queries, or JavaScript functions using the control's unique name.

OutputDescription
tabsRepresents the user-selected value from the tabs available in the Tabs control.

Events​

TriggerDescription
tab_changeEmitted when the selected tab changes, enabling tracking of the chosen tab and respective actions can be configured for tab change.