This topic provides a guide for using tab lists.
Component overview
A tab list is composed of multiple tabs and can be configured with interactive settings to work in conjunction with other widgets. This enables the grouping of related information into tabs for easy switching between different views or functions.
Scenarios
Tab lists are ideal for organizing information, classifying content, and presenting data, allowing for quick access to needed information. Examples include the following:
Information organization: Group related content under tabs, such as "Personal Information" and "Account Settings".
Content classification: Use tabs to differentiate content categories, such as "Electronics" and "Home Goods" on an e-commerce platform.
Data presentation: Use tabs to display different data views, such as "Elementary Schools in a Region" and "High Schools in a Region".
Effect display
Examples include different charts displayed under various tabs within a tab list.
Prerequisites
A data dashboard is available that supports creation using a template, a blank canvas.
Business data is ready for use. For more information, see Datasource.
Add tab lists
Access the DataV console.
Navigate to the , select the desired dashboard, and enter its canvas editing page.
In the left-side navigation pane, under the list, select Tab List to add the widget to the canvas.
NoteThe platform offers multiple built-in tab list styles (quick styles) for immediate use. Hover over the
icon on the widget to select as needed. If these styles do not meet your requirements, you can customize the widget's style after adding it. For more information, see Style Configuration.
You can also use the global search to add related widgets.
Integrate business data
Once the widget is added, you can integrate your prepared business data for display. Click the tab list and, on the Data Source tab on the right, select the data for the widget to display. 
The data fields accepted by the tab list are outlined below.
Field
Description
idThe ID of the tab in the tab list. The configuration item in the style panel requires this variable value to define which tab is selected when the widget is initialized.
contentThe name of the tab in the tab list.
imgSrcThe URL address of the icon for the tab in the tab list. After configuring the icon here, you can modify the size, position, and other information of the image in the section of the style panel.
Key configuration items for the data source are detailed below.
Configuration item
Description
Configure data source
The tab list supports integrating various types of data such as CSV files, APIs, and databases. For more information, see Datasource. You can edit data fields using a visual table or code.
Configure filters (optional)
Used to customize filter code for data structure transformation, filtering, display, and simple calculations. For more information, see Manage data filters.
Configure data mapping
Used to map fields from the selected data source to the corresponding fields of the widget, achieving real-time data matching. Click the
icon to configure field styles.View response results
Used to display the data integrated into the widget in real time. When the widget's data source changes, the latest data is displayed here.
Click the data response result to view the code for the data fields.
Click View Example to see the array type and code example received by the data source. You can refer to the example to write related fields.
Other data request configurations:
Disable loading state: When selected, the loading content during widget initialization will not be displayed when the widget is updated or the data dashboard is previewed.
Controlled mode: When selected, the widget will not request data in the initialized state. At this time, data requests can only be initiated through the blueprint editor or global variable events.
Automatic update requests: When selected, the platform dynamically polls and updates data based on the polling time you set. If not selected, you need to manually refresh the page or trigger request updates through the blueprint editor and global variable events.
Configure tab lists
To configure the tab list widget, click it and use the right-side panel to set basic styles, global variables, interaction occurrences, and advanced settings, along with blueprint interaction settings.
Style configuration
In the Style panel, you can adjust text size, background, animation effects, and other styles for the tab list. The configuration items are as follows.
Use the
icon to quickly find configuration items by keyword search, which supports fuzzy matching. For more information, see Search Configuration Items.
Configuration item | Description | Illustration |
Global configuration | Defines the position distribution, transparency, and interaction penetration of the widget in the data dashboard.
|
|
General configuration | Defines the overall display style of the tab list, including the background and border of the tab container, the size of the tabs, and their arrangement positions.
|
|
Unselected configuration | When previewing the tab list, selecting a tab displays the content related to that tab, while other tabs are considered unselected. This section is used to define the display style of unselected tabs.
Note Local images can be uploaded as backgrounds. |
|
Selected configuration | When previewing the tab list, selecting a tab displays the content related to that tab, while other tabs are considered unselected. This section is used to define the display style of selected tabs.
Note Local images can be uploaded as backgrounds. |
|
Interaction configuration | Sets the carousel interval duration for the tab list and the relative position of the tooltip for each tab. |
|
Advanced configuration
Define the interaction and data transmission relationships between the tab list and other widgets. The configuration items are as follows.
Configuration item | Description | Illustration |
Interaction occurrences | Defines interaction behaviors with other widgets to achieve widget linkage. For example, you can use the tab list and line chart to display the operational status of a company. By clicking different tabs, you can display fluctuations in sales data, customer data, market data, and production data. Click the |
|
Associate global variables | You can associate global parameters in the widget to achieve parameter transmission and widget interaction. For more information about global variables, see Global variables. Click the |
Blueprint interaction
Use the Blueprint Editor to visually define interaction relationships and behavior logic between widgets.
Procedure
Enter the Blueprint Editor by clicking the
icon on the top menu bar's left side on the canvas editing page.In the layer node list, hover over the tab list widget and click the
icon to add it to the main canvas.Connect widgets as needed to configure blueprint interaction effects.
An example is shown below.

Configuration item descriptions
Case demonstration
This case demonstrates the dynamic effects of widgets by controlling the carousel and visibility of groups within a tab list.
Access the DataV console.
Select a data dashboard, click Edit, and enter the canvas editor page.
Add Column Chart, Line Chart, Progress Doughnut Chart, and two Tab List widgets to the canvas.
Group the column chart, line chart, and doughnut chart, and set the carousel container's trigger mode to Event Trigger.
Select any tab list widget, access the data source panel, modify the static data, and synchronize the name to Show/Hide.
[ { "id": 1, "content": "Show" }, { "id": 2, "content": "Hide" } ]Modify the name of the other tab list to Carousel Control.
Enter the Blueprint page by clicking the
icon in the upper-left corner.On the Layer Node tab, add the carousel container, Show/Hide, and Carousel Control to the main canvas.
On the Logic Node tab, add a serial data processing node and two condition judgment nodes to themain canvas.
Connect the widgets as illustrated.

Set up the processing methods.
Show
return data.id == 1;Hide
return data.id == 2;Serial Data Processing
return { index: data.id - 1 };
Preview the display result by clicking Preview in the upper-right corner of the page.







icon to define related interaction occurrences and interaction actions.
icon to enable the corresponding instruction. When you click a tab, a data request is triggered, and temporary variables are thrown to dynamically load the tab content. By default, the
icon next to the event or action in the blueprint configuration interface for detailed parameter descriptions.