Open a Record from a Row
Let users open an Opportunity from the table by its name, by a click on the row, or in a side panel, and choose how long lists load.
An account manager scans thirty open Opportunities and wants to open one without hunting for a button. The Data Table offers three ways to do it: the record name as a link, a click anywhere on the row, or a details panel beside the table. This page sets up each one, then covers how long lists load.

Before you start
A Data Table on the Opportunity object with a Query data source and a Name column. See Data Table.
Record name as a link
Clicks the name
One setting on the Name column
Clickable row
Clicks anywhere on the row
A setting plus a Row Click interaction
Show More Details Panel
Clicks an icon at the end of the row
One setting, read-only panel
Steps
Show the record name as a link
Select the Data Table, stay on the Properties tab, and open the Name column under Columns.
Set Type to Text and turn on Linkify under Type Attributes.
Each name now links to its record. Use Rich Column Types covers this setting and the Lookup column that links a related record, such as the Account.
Make the whole row clickable
In the Content section, turn on Clickable Row. Editable cells keep their own behaviour and do not trigger the click.
Open the Interactions tab and add an interaction under Row Click.
Type: Navigate. Page Reference Type: Record Page. Object Api Name: Opportunity.
Record Id: the row's Id from the Record entries (the field then reads
Record: Id). Action Name: View.

To keep the user on the page, choose Open Dynamic Component Panel as the Type instead, and pass the row's Id through Input Variables. Raise Size if the panel content looks cramped. See Open Dynamic Component Panel.
Or add the built-in details panel
In the Header section, turn on Show More Details Panel. A small icon button appears at the end of a row when the pointer is over it. A click opens a panel on the right with that record's details, read only, laid out like the record's page layout (not the table's columns). Nothing else to configure.
Pick this one when users only need to read the record. Pick the clickable row when they need a page of your own or the full record page.
Choose how long lists load
Open the Pagination section:
Show Pagination on: the table shows page controls at the bottom, and Number of Items per Page (1 to 500, default 100) sets the page size. Good when users need to know where they are in a long list.
Show Pagination off: the table loads Number of Items per Page rows first. A Show More button loads the next batch, or, when the component has a fixed height, more rows load as the user scrolls.
Save and test
Save the component and open the page where it is placed. Click a deal name: its record opens. Click elsewhere on another row: that Opportunity opens too. With Show More Details Panel on, hover a row and click the icon at its end: the panel opens beside the table with that deal's details.
Troubleshooting
Related tutorials
Add Custom Buttons: a visible button per row for a specific task.
Define Row Actions: several row actions in a compact menu.
Enable Data Export: export what the table shows, or everything.
Was this helpful?
