Add and configure button widgets to trigger actions such as navigation, form submission, and selection in your visualization applications.
Component overview
The button is a control widget that triggers operations such as navigation, submission, and selection or cancellation when clicked. You can customize its color, size, label content, and hyperlink, and configure interactions with other widgets to display linked pages or prompt information.
Scenarios
Use buttons for interface switching, hyperlink navigation, and submission or confirmation actions.
Effect display
-
Static Button

-
Hyperlink Navigation

-
Interactive Scenario

Prerequisites
-
Create a data dashboard. You can use a template, use a blank canvas, or use AI to generate one.
-
Your business data is prepared. For more information, see Data Source.
Add button
-
Access the DataV console.
-
On the Workbench page, in the Data Dashboards area, hover over the target dashboard and click Edit. The canvas editor opens.
-
In the left-side navigation pane, under the list, click the Button widget to add it to the canvas.
You can also use global search to add related widgets.
Integrate business data
After adding the widget, bind your business data. Click the button and in the right-side Data Source tab, select the data to render. 
-
The button accepts the following data fields.
Field
Description
valueThis data is output when the Click Button Event is triggered. For more information about events, see Blueprint Interaction.
Example data structure:
[ { "value": "Submit" } ] -
This section describes the core configuration items for the data source.
Configuration
Description
Select Data Source
Supports various data types, such as CSV files, APIs, and different databases. For more information, see Supported data source types. Edit data fields in a visual table or in code.
Configure Filter (Optional)
Customize filter code to transform, filter, display, and perform simple calculations on data. For more information, see Manage data filters.
Configure Data Mapping
Map fields from the selected data source to the widget's fields. This enables real-time data matching. Click the
icon to configure field styles.View Response Result
Displays the data connected to the widget in real time. When the widget's data source changes, this section shows the latest data.
-
Click the data response result to view the data field code.
-
Click View Example to see the array type and sample code that the data source accepts. You can write your fields based on the example.
Other data request configurations:
-
Disable Loading State: If you check this box, the widget's initial loading content does not appear when the widget updates or when you preview the data dashboard.
-
Controlled Mode: If you check this box, the widget does not request data when it initializes. Data requests can only be started by the blueprint editor or by global variable events.
-
Auto Update Request: If you check this box, the platform polls for data updates at the interval you set. If you do not check this box, you must refresh the page manually or use the blueprint editor or global variable events to trigger data updates.
-
Configure button
Click the button widget to configure its style, global variables, and interactions in the right-side panel.
Style configuration
In the Style panel, configure the text, background, border, and other styles of the button across different states.
Click the
icon to quickly locate configuration items by searching keywords. The search supports fuzzy match. For more information, see Search Configuration Items.
The configuration items are described below.
|
Configuration Item |
Description |
Illustration |
|
Global Configuration |
Defines the widget's position, transparency, and interaction passthrough in the data dashboard.
|
|
|
Global Style Configuration |
Defines the button's default-state appearance, including text content, text style, background style, and border style.
|
|
|
Click Style Configuration |
Defines the button's appearance when clicked. For details, see Global style configuration. |
|
|
Hover Style Configuration |
Defines the button's appearance on hover. For details, see Global style configuration. |
|
Advanced configuration
Configure interactions between the button and other widgets.
|
Configuration Item |
Description |
Illustration |
|
Interaction Occurrences |
Defines interaction behavior with other widgets for filter-based interaction. Click the |
|
|
Associate Global Variables |
Associate global parameters with the widget to pass values between widgets. Click the Clicking the button triggers a data request that passes the |
Blueprint interaction
Use the Blueprint Editor to visually define interaction relationships and behavior logic between widgets.
Procedure
-
On the canvas editing page, click the
icon on the left side of the top menu bar to enter the blueprint editor. -
In the layer node list, hover over the button widget and click the
icon to add the widget to the main canvas. -
Configure the blueprint interaction effects of related widgets as needed through the connection method.
The example is as follows.





icon to define interaction occurrences and actions.
icon to enable and bind the required
icon on the left side of the top menu bar to enter the blueprint editor.
icon to add the widget to the main canvas.
icon next to an occurrence or action in the blueprint configuration panel to view parameter details.