Data row component setup
Data row is a single, scrollable row of cards containing actions that provide access to either a larger data set or to individual records.
Before you begin
This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see Customize UI Builder pages using components.
Note: This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.
Role required: admin or ui_builder_admin
Procedure
-
Define a label for your data row that differentiates it from other components in the content tree.
A label makes finding the component easier in a large list of components. For instructions on using the content tree, see Manage UI pages and page variants.
[Omitted image "data-row-config-content-tree.png"] Alt text: Component with label displayed in the content tree
-
Select the Data row component, using one of these methods:
- Click anywhere within the component.
- Select the Data row label you created for your component in the content tree. The property fields appear in the Config tab in the setup panel on the right.
Parent Topic:UIB Setup Information
Data row component properties
Configure the data and display of the Data row.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.
- Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see Add and configure data resources to a page.
- Scripting: Creates a scripted property value. For details on scripted values, see Create and bind a client state parameter to a component.
|
Field |
Property |
Description |
|---|---|---|
|
Title |
title |
Text to introduce the data row. |
|
Layout |
layout |
Direction in which the data cards are lined up. You can select Horizontal or Vertical. |
|
Data |
data |
Data to populate the cards in the data row. You can populate the content dynamically by binding to a data resource, or you can manually enter the content in a code editor.- To dynamically populate the content, click the data icon ([Omitted image "data-icon.png"] Alt text: Data icon) and select a data resource. This returns a response object containing metadata and an array of items.
JSON |
|
Card height (horizontal layout) |
cardHeightHorizontal |
Size of the card height. This configuration applies only to a horizontal data row. |
|
Max. cards per row (horizontal layout) |
maxVisibleCardsHorizontal |
Maximum number of cards per row. This configuration applies only to a horizontal data row. |
|
Min. card width (150 or greater, horizontal layout) |
minCardPixelWidth |
Minimum width, in pixels, for a card in the data row. This configuration applies only to a horizontal data row. |
|
Empty state message |
noDataMessage |
Message to display when there is no data to show in the component. |
|
Configure text for 'View All' button |
viewAllLinkLabel |
Text to replace the label of the View All button. |
|
Show Data Row without box |
noBox |
Option to hide the box outside the data row. |
Select event handlers to configure the actions (events) provided with the Data row component.
The Events tab shows the events used by the Data row component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.
Event handlers
Event handlers work with data resources to link the Data row actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.
For instructions on adding event handlers to an event, see Configure an event handler.
Event descriptions
| Event | Description |
|---|---|
| View all link clicked | User clicks View All. |
| NOW_DATA_ROW_ACTION_SUCCEEDED | Server completes a component action successfully. The event also dispatches a payload containing information of the component action. |
| NOW_DATA_ROW_ACTION_FAILED | Server completes a component action unsuccessfully. The event also dispatches a payload containing information of the component action. |
---
title: Data row component setup
description: Data row is a single, scrollable row of cards containing actions that provide access to either a larger data set or to individual records.Configure the data and display of the Data row.Select event handlers to configure the actions \(events\) provided with the Data row component.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/application-development/ui-builder/data-row-component-uib-setup.html
release: brazil
product: UI Builder
classification: ui-builder
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 5
breadcrumb: [UIB Setup Information, UI Builder, Builder library, Developing your application, Classic app development, Building applications]
---
# Data row component setup
Data row is a single, scrollable row of cards containing actions that provide access to either a larger data set or to individual records.
## Before you begin
This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-components.md).
**Note:** This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.
Role required: admin or ui\_builder\_admin
## Procedure
1. Define a label for your data row that differentiates it from other components in the content tree.
A label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/work-pages.md).
\[Omitted image "data-row-config-content-tree.png"\] Alt text: Component with label displayed in the content tree
2. Select the Data row component, using one of these methods:
- Click anywhere within the component.
- Select the Data row label you created for your component in the content tree.
The property fields appear in the **Config** tab in the setup panel on the right.
**Parent Topic:**[UIB Setup Information](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/uib-setup-information.md)
## Data row component properties
Configure the data and display of the Data row.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.
- **Data binding**: Creates dynamic property values from multiple sources. Sources include state variables \(@state\), URL variables \(@context\), or data resource payloads \(@data\). For details, see [Add and configure data resources to a page](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/add-data-resources.md).
- **Scripting**: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/state-parameters.md).
<table id="table_vc1_4yr_nnb"><thead><tr><th>
Field
</th><th>
Property
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Title
</td><td>
title
</td><td>
Text to introduce the data row.
</td></tr><tr><td>
Layout
</td><td>
layout
</td><td>
Direction in which the data cards are lined up. You can select **Horizontal** or **Vertical**.
</td></tr><tr><td>
Data
</td><td>
data
</td><td>
Data to populate the cards in the data row. You can populate the content dynamically by binding to a data resource, or you can manually enter the content in a code editor.- To dynamically populate the content, click the data icon \(\[Omitted image "data-icon.png"\] Alt text: Data icon\) and select a data resource. This returns a response object containing metadata and an array of items.
- To manually enter the content, click **Edit**. In the code editor, define the information needed to render each card, including its fields and actions. For example, to populate one card, you would enter the following:
```
{
"page_cursor": "e2JlY2E4ZTYyNWIwMjEwMTA4NDhiMjg1ODJkODFjNzYzPTI5LCA3NDRiODJhMjViMDIxMDEwODQ4YjI4NTgyZDgxYzc1Zj0yMDAsIDAxYjQzNWEwNzMyMTEwMTBjMzQyZDVmZGJkZjZhN2UzPTExfQ",
"page_size": 20,
"page_number": 0,
"is_last_page": false,
"all_actions": [
{
"assignmentId": "d46f400473211010c342d5fdbdf6a7cf",
"name": "navigation",
"label": "Navigation",
"actionType": "uxf_client_action",
"actionDispatch": "NAVIGATION",
"actionPayload": "{\r\n \"table\": \"{{table}}\",\r\n \"sysId\": \"{{sys_id}}\",\r\n \"url\": \"{{navigation_url}}\"\r\n}"
},
{
"assignmentId": "e3a173c073151010c342d5fdbdf6a7a2",
"name": "call_number",
"label": "Call Number",
"actionType": "uxf_client_action",
"actionDispatch": "HOME_PHONE_CALL",
"actionPayload": "{\r\n\t\"phoneNumber\": \"{{home_phone}}\"\r\n}"
}
],
"selected_filter": "",
"items": [
{
"template": "now-card-evam-record",
"propValues": {
"highlightedHeaderLabel": "Vice President",
"textHeaderLabel": "Development",
"titleLabel": "Manifah Masood",
"imageURL": "1792fbe1d701120035ae23c7ce6103e4.iix",
"subtitle": "manifah.masood",
"subtitleAvatarName": "Manifah Masood",
"subtitleAvatarURL": "ab490666c312120048f4d5dc64d3aee8.iix",
"detailValueOne": "manifah.masood@example.com",
"detailValueTwo": "",
"detailValueThree": "",
"highlightedHeaderIcon": "clock-outline",
"highlightedHeaderBkgColor": "moderate",
"subtitleIcon": "calendar-fill",
"imageType": "image",
"subtitleImageType": "avatar",
"detailLabelOne": "Email address",
"detailLabelTwo": "Works for",
"detailLabelThree": "Location/address",
"mainActions": [
{
"assignmentId": "42fd3e5273511010c342d5fdbdf6a70e",
"name": "activate_user",
"label": "Activate",
"actionType": "server_script",
"icon": "Button",
"buttonType": "primary",
"actionDispatch": "",
"serverScript": "current.active = true;\ncurrent.update();",
"confirmationRequired": false,
"confirmationMessage": "",
"actionPayload": "",
"actionPayloadMap": []
},
{
"assignmentId": "e3a173c073151010c342d5fdbdf6a7a2",
"name": "call_number",
"label": "Call Number",
"actionType": "uxf_client_action",
"icon": "",
"buttonType": "primary",
"actionDispatch": "HOME_PHONE_CALL",
"serverScript": "",
"confirmationRequired": false,
"confirmationMessage": "",
"actionPayload": {
"phoneNumber": ""
}
}
],
"clickAction": {
"assignmentId": "d46f400473211010c342d5fdbdf6a7cf",
"name": "navigation",
"label": "Navigation",
"actionType": "uxf_client_action",
"icon": "",
"buttonType": "primary",
"actionDispatch": "NAVIGATION",
"serverScript": "",
"confirmationRequired": false,
"confirmationMessage": "",
"actionPayload": {
"table": "sys_user",
"sysId": "1832fbe1d701120035ae23c7ce610369",
"url": ""
}
},
"model": {
"name": "Manifah Masood",
"email": "manifah.masood@example.com",
"avatar": "ab490666c312120048f4d5dc64d3aee8.iix",
"mobile_phone": "",
"time_zone": "Europe/London",
"title": "Vice President",
"photo": "1792fbe1d701120035ae23c7ce6103e4.iix",
"user_name": "manifah.masood",
"location.name": "",
"company.name": "",
"department.name": "Development",
"sysId": "1832fbe1d701120035ae23c7ce610369",
"sys_id": "1832fbe1d701120035ae23c7ce610369",
"table": "sys_user"
}
},
"buttonType": "primary",
"actionDispatch": "NAVIGATION",
"serverScript": "",
"confirmationRequired": false,
"confirmationMessage": "",
"actionPayload": {
"table": "sc_cat_item",
"sysId": "f514e9e64fcf42c0bde324af0210c766",
"url": ""
},
"model": {
"name": "OS X Mavericks",
"price": "$0.00",
"category.title": "Software",
"vendor.name": "",
"icon": "0f823d404f889200086eeed18110c70f.iix",
"picture": "616db9444f889200086eeed18110c70e.iix",
"short_description": "OS X Mavericks (version 10.9.x) is Apple's tenth\n\t\t\tmajor release of OS X, for Macs\n\t\t",
"model.display_name": "",
"sys_class_name": "Catalog Item",
"delivery_time": "2 Days",
"sysId": "f514e9e64fcf42c0bde324af0210c766",
"sys_id": "f514e9e64fcf42c0bde324af0210c766",
"table": "sc_cat_item"
}
}
],
"available_filters": [
{
"sys_id": "",
"label": "Default"
},
{
"sys_id": "c10d1e42737e10108d991e666bf6a761",
"label": "Active entities"
},
{
"sys_id": "808ed682737e10108d991e666bf6a793",
"label": "Assigned to me"
},
{
"sys_id": "1213fb41733210108d991e666bf6a77a",
"label": "Recently updated"
}
]
}
```
</td></tr><tr><td>
Card height \(horizontal layout\)
</td><td>
cardHeightHorizontal
</td><td>
Size of the card height. This configuration applies only to a horizontal data row.
</td></tr><tr><td>
Max. cards per row \(horizontal layout\)
</td><td>
maxVisibleCardsHorizontal
</td><td>
Maximum number of cards per row. This configuration applies only to a horizontal data row.
</td></tr><tr><td>
Min. card width \(150 or greater, horizontal layout\)
</td><td>
minCardPixelWidth
</td><td>
Minimum width, in pixels, for a card in the data row. This configuration applies only to a horizontal data row.
</td></tr><tr><td>
Empty state message
</td><td>
noDataMessage
</td><td>
Message to display when there is no data to show in the component.
</td></tr><tr><td>
Configure text for 'View All' button
</td><td>
viewAllLinkLabel
</td><td>
Text to replace the label of the **View All** button.
</td></tr><tr><td>
Show Data Row without box
</td><td>
noBox
</td><td>
Option to hide the box outside the data row.
</td></tr></tbody>
</table>## Data row component events
Select event handlers to configure the actions \(events\) provided with the Data row component.
The Events tab shows the events used by the Data row component. To view the available events, select **+ Add event mapping**. Select the event in the list to add one or more event handlers.
### Event handlers
Event handlers work with data resources to link the Data row actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.
For instructions on adding event handlers to an event, see [Configure an event handler](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/application-development/ui-builder/event-handler.md).
### Event descriptions
|Event|Description|
|-----|-----------|
|View all link clicked|User clicks **View All**.|
|NOW\_DATA\_ROW\_ACTION\_SUCCEEDED|Server completes a component action successfully. The event also dispatches a payload containing information of the component action.|
|NOW\_DATA\_ROW\_ACTION\_FAILED|Server completes a component action unsuccessfully. The event also dispatches a payload containing information of the component action.|
| title | Data row component setup |
| description | Data row is a single, scrollable row of cards containing actions that provide access to either a larger data set or to individual records.Configure the data and display of the Data row.Select event handlers to configure the actions \(events\) provided with the Data row component. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/application-development/ui-builder/data-row-component-uib-setup.html |
| release | brazil |
| product | UI Builder |
| classification | ui-builder |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 5 |
| breadcrumb | UIB Setup InformationUI BuilderBuilder libraryDeveloping your applicationClassic app developmentBuilding applications |