Screen Flow components Schedule a call

Native Mobile Data Table

Native Mobile Data Table (nrMobileDataTable) lists records in a Screen Flow and lets users select them. On a phone it shows cards. On desktop it shows a table. You can also force cards, a table, or a compact list.

This page covers when to use the table, layouts, how to add it to a screen, and selection. Other topics are on these pages:

The permission set is documented on the Properties reference page.

When to use it

Layouts

Layout (layoutMode) sets how the records look. Values are not case sensitive. A blank or unknown value uses Auto.

LayoutAPI valueWhat the user seesGood for
Auto (recommended)autoCards on phones. On tablets and desktop, cards when the component is 768 px wide or less, and a table otherwise. It switches when the width changes.Most screens.
CardcardAlways cards, even on desktop.Picking by picture or by a few details.
TabletableAlways a table. On phones the table scrolls sideways inside its own box, not the page.Many columns.
Compact listlistOne line for each record: the selection control, an optional small picture, the title, and the detail values.Long lists where people pick by name.

Auto

Auto layout showing a table on a wide screen
Desktop. Auto on a wide screen shows a table.
  1. table at desktop width
Auto layout showing cards on a phone
Phone. Auto on a phone shows cards.
  1. cards on a phone

Card

Card layout on desktop
Desktop. Cards on desktop.
  1. Cards on desktop
Card layout on a phone
Phone. Cards on a phone.
  1. cards

Table

Table layout on desktop
Desktop. A table on desktop.
  1. The table
Table layout on a phone scrolling sideways inside its own box
Phone. On a phone the table scrolls sideways inside its box.
  1. table box
  2. sideways scroll

Compact list

Compact list layout on desktop
Desktop. One line for each record.
  1. selection control
  2. title
  3. detail values
Compact list layout on a phone
Phone. The same list on a phone.
  1. list rows

Fields per list row

Compact list with four fields in each row, desktop
Compare. Desktop. Four fields in each row.
  1. four fields on one row
Compact list with four fields in each row, phone
Compare. Phone. Four fields on a phone.
  1. Four fields on one row

Page size follows the screen, not the layout. Cards Per Page (Mobile) applies on phones and narrow screens. Rows Per Page (Desktop) applies otherwise. Users tap Load more to see more.

Add it to a screen

  1. Add a Get Records element that returns All records. Include every field you want to show.
    Get Records returning all records with the fields to show
    Flow Builder. Return all records. Include the fields to show.
    1. All records
    2. The fields to store
  2. Add a Screen element. Drag Native Mobile Data Table onto it.
    Native Mobile Data Table in the components list and on the screen
    Flow Builder. Drag the component onto the screen.
    1. Native Mobile Data Table on the screen
  3. In the settings panel, pick the Object. This sets Object API Name too.
    The Object picked in the settings panel
    Flow Builder. Pick the Object.
    1. Object
  4. Pick the Records collection.
    The Records collection picked in the settings panel
    Flow Builder. Pick the Records collection.
    1. Records
  5. Choose the columns, or type a Field Set Name. Optional: type your own headers in Column Labels.
    Columns shown in order, with their labels
    Flow Builder. Columns in order, with labels.
    1. Columns
    2. Column Labels
  6. Optional: to show a Date/Time field as a date only, type its API name in Date-Only Fields, under Columns.
    Date-Only Fields filled in with two start and end date fields
    Flow Builder. Date-Only Fields under Columns.
    1. Date-Only Fields
  7. Set Selection Mode. Set Card Title Field and Card Detail Fields if the defaults do not fit.
    Selection Mode, Card Title Field and Card Detail Fields in the settings panel
    Flow Builder. Selection and card fields.
    1. Selection Mode
    2. Card Title Field
    3. Card Detail Fields
  8. Under Display, set Layout. For Compact list, set Fields per list row. Set Font size for smaller or larger text.
    The Layout dropdown open, showing Auto, Card, Table and Compact list
    Flow Builder. Layout choices.
    1. Layout
    2. Layout choices, with Table ticked
    Layout set to Compact list so Fields per list row shows
    Flow Builder. Compact list adds Fields per list row.
    1. Layout is Compact list
    2. Fields per list row
    3. Show Search
  9. Turn on Show Search and Show Sort if you want them. Set the page sizes and labels.
  10. Store Selected Records or Selected Record in a variable. To keep the selection when the user goes back, pass the same variable into Selected Records.
  11. Test on desktop and on a phone.

The settings panel

Column Labels

Selection

Multi select

Cards with checkboxes, two selected, on desktop
Desktop. Checkboxes. Two cards are selected.
  1. checkboxes
  2. selected cards
Cards with checkboxes on a phone
Phone. Checkboxes on a phone.
  1. checkboxes

Single select

Cards with a single radio, one selected, on desktop
Desktop. A radio. One card is selected.
  1. radio
Cards with a single radio on a phone
Phone. A radio on a phone.
  1. radio