User guide · Chapter 17
Native Mobile Data Table
Native Mobile Data Table (nrMobileDataTable) lists records on a Flow screen 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.
Native Rent 1.987.0.1 includes the Native Mobile Data Table features described in this chapter.
- It replaces the standard Flow Data Table, which does not work well on Salesforce Mobile.
- It uses only the records the Flow passes in. It does not query again.
- It runs no Apex unless you fill in Field Set Name.
- Editing is off by default. You can turn on pencil or input editing.
When to use it
- Use it to let users pick one or several records and see a few details of each.
- Use it instead of the standard Flow Data Table on screens that run in Salesforce Mobile.
- Use Native Flow Lookup to pick one record by typing a name.
- Use Native Flow Picklist for a short list of fixed values.
- Use Native Flow Button for actions, or for picture tiles.
Layouts
Layout (layoutMode) sets how the records look. Values are not case sensitive. A blank or unknown value uses Auto.
| Layout | API value | What the user sees | Good for |
|---|---|---|---|
| Auto (recommended) | auto | Cards 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. |
| Card | card | Always cards, even on desktop. | Picking by picture or by a few details. |
| Table | table | Always a table. On phones the table scrolls sideways inside its own box, not the page. | Many columns. |
| Compact list | list | One 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

- table at desktop width

- cards on a phone
Card

- Cards on desktop

- cards
Table

- The table

- table box
- sideways scroll
Compact list

- selection control
- title
- detail values

- list rows
Fields per list row
- Fields per list row (
listFieldCount) applies to the Compact list only. It sets how many detail values each row shows after the title, from 1 to 4. Blank or invalid uses 2. - The values come from Card Detail Fields when set. Otherwise they come from the columns after the title.
- When a row shows more than 2 values and the component is 480 px wide or narrower, the values wrap onto a second line.
- Text values that do not fit end with an ellipsis. Numbers, currency, dates, and checkboxes are not shortened.

- four fields on one row

- 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
- Add a Get Records element that returns All records. Include every field you want to show.

Flow Builder. Return all records. Include the fields to show. - All records
- The fields to store
- Add a Screen element. Drag Native Mobile Data Table onto it.

Flow Builder. Drag the component onto the screen. - Native Mobile Data Table on the screen
- In the settings panel, pick the Object. This sets Object API Name too.

Flow Builder. Pick the Object. - Object
- Pick the Records collection.

Flow Builder. Pick the Records collection. - Records
- Choose the columns, or type a Field Set Name. Optional: type your own headers in Column Labels.

Flow Builder. Columns in order, with labels. - Columns
- Column Labels
- Optional: to show a Date/Time field as a date only, type its API name in Date-Only Fields, under Columns.

Flow Builder. Date-Only Fields under Columns. - Date-Only Fields
- Set Selection Mode. Set Card Title Field and Card Detail Fields if the defaults do not fit.

Flow Builder. Selection and card fields. - Selection Mode
- Card Title Field
- Card Detail Fields
- Under Display, set Layout. For Compact list, set Fields per list row. Set Font size for smaller or larger text.

Flow Builder. Layout choices. - Layout
- Layout choices, with Table ticked

Flow Builder. Compact list adds Fields per list row. - Layout is Compact list
- Fields per list row
- Show Search
- Turn on Show Search and Show Sort if you want them. Set the page sizes and labels.
- 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.
- Test on desktop and on a phone.
The settings panel
- Object: pick an object already used in the Flow, or type an object API name and click Use. This sets the record type and Object API Name together.
- Changing the Object clears Records, Field API Names, Card Title Field, Card Detail Fields, Card Image Field, Editable Fields, Column Types, Color Field, Group By Field, Filter Chip Fields, Total Fields, Face Fields, and Priority Field, because fields from another object no longer apply.
- Saved field names the panel does not recognize are kept, not dropped.
- Records: pick a record collection variable, or a Get Records element that returns all records of that object.
- Columns: move fields from Available fields to Shown, in order. Each field shows as Label (API name). A lookup also offers an entry such as Rentable › Name. Pick it to show the related record's name. Get Records must return that field, or the Id shows instead.
- Field Set Name is typed, because Field Sets cannot be listed in the panel.
- When you click Done, the panel checks that an Object and Records are chosen, that Columns or a Field Set Name is set, that Card Detail Fields has 4 fields or fewer, that Filter Chip Fields has 2 fields or fewer, and that Priority Color Map and Group Color Map are valid JSON.
Column Labels
- Column Labels (
columnLabels) is optional. Type headers separated by commas, in the same order as the columns, for exampleName,,Daily Rate. - A blank entry keeps the field's own label. Extra entries are ignored.
- The custom header shows in table headers, on card and list labels, and in the sort picker.
Cards, density, and text size
Card details
- When Card Detail Fields is blank, cards show every column after the title. When it is set, cards show at most 4 of those fields.
- Card Expansion (
cardExpansion) set to details shows only the title, the status badge, and Face Fields on the card. The other fields open when the user taps Show details, and Hide details closes them. Tapping Show details never selects the card. A table never hides columns. - Long text wraps to about 3 lines and shows Show more and Show less. Tapping Show more never selects the row.

- Show details

- Show details

- The detail fields
Font size
- Font size (
fontSize) is small, medium, or large. The default is medium. Blank or unknown values use medium. - Font Size scales card text. Small and large also scale table and list text.



- Small
- Medium
- Large



- Small
- Medium
- Large
Density
- Density (
density) is Comfortable, Compact, or Dense. The default is Comfortable. It works with Font Size. No density hides a field. - Compact uses tighter spacing. Dense uses the tightest spacing and a flatter card.
- In Compact and Dense, text never goes below 12 px.
- When the component is 320 px wide or more, Dense cards show two fields in each row. Each label sits above its value.
- The whole card or row is the tap area. List rows, the table selection column, the Show more and Show details buttons, and Compact or Dense cards are at least 44 px tall.
- Card values are left-aligned in every density. On a Comfortable or Compact card whose content area is at least 24 rem wide (384 px at the default 16 px text size), each label sits in its own left column and its value sits beside it. The label column fits the longest label, up to 40% of the width, and is never narrower than the longest word of a label. On a narrower card, each value sits under its label.
- List layout details follow the same rule: label and value sit side by side when the list row is at least 28 rem wide (448 px at the default 16 px text size), and the value sits under its label in a narrower row. Values are left-aligned either way.
- Dense list rows are taller than before (104 px, up from 88 px).

- Comfortable
- Compact
- Dense
The picture above is from desktop.
Selection
- Selection Mode (
selectionMode) is none, single (a radio), or multi (a checkbox). The default is single. - Tap anywhere on a card to select it, including on its field values. Tap again to clear it.
- Set Require Selection to make the user pick before Next. Set Required Error Message for your own wording.
- In multi mode a bar at the bottom shows how many are selected, with a Clear button. Turn it off with Show Selection Footer.
- Preselected Records or Preselected Record Ids select records when the screen opens.
Multi select

- checkboxes
- selected cards

- checkboxes
Single select

- radio

- radio
Search, sort, and paging
- Show Search (
showSearch) adds a search box. It filters the shown values on the device. - Show Sort (
showSort) adds sorting. Desktop tables sort by the column header. On a phone, cards and list rows get a sort picker. - Group By Field shows records under section labels with counts.
- Filter Chip Fields shows tap-to-filter chips for one or two fields, such as Status.
- Cards Per Page (Mobile) and Rows Per Page (Desktop) set how many records show first. Users tap Load more for the rest.



Filters
Not yet released: Filters, CSV export, Row actions, and Copy settings will ship in an upcoming Native Rent package version.
These features are optional and off by default. An existing screen does not change until you turn a setting on.
Turn on Enable Filters to add filters for every visible column that can be filtered (from Field API Names, or from the Field Set).
| Column type | Filter |
|---|---|
| Picklist, checkbox | A choice list: Any plus each value found in Records. Checkbox values are the words Checked and Unchecked, the same words Search uses. The table still shows a check mark, not those words. |
| Text, email, phone, URL, lookup (by name), Location, Address, and Time | Contains (ignores upper and lower case). |
| Number, currency, percent | From and To (both ends are included). |
| Date, date/time, Date-Only Fields | From and To dates (both ends are included). A date/time value is compared by its local day in the browser's time zone. See Dates and time zones. |
Rich text columns and the Card Image Field get no filter. A picklist or checkbox with no values in Records gets no filter. Location, Address, and Time fields are treated as text and get a Contains filter. Multi-select picklists also use Contains, not a choice list.
On a wide desktop or tablet, a filter bar stays visible above the records, with one control per column and a Clear filters button.
On a phone, or when the component is 768px wide or less (the same mobile rule as the rest of the table), a Filters button is shown (44px tall). When filters are set, the button shows the number of filtered columns, for example Filters (2). Tapping it opens a filter sheet with one control per row, 16px input text (so the phone does not zoom), and Clear filters and Done buttons (44px tall). Done closes the sheet and keeps the filters.
Filters run on the screen, on the Records collection the Flow already passed in. The component does not query again. A row must match every active filter, the Search text, and any filter chips. The current sort, and the current group order when Group By is on, apply to what is left. If you type a From or To for a column, a record with a blank value in that column is left out.
Clear filters resets the filters, the Search text, the filter chips (back to All), and the sort (back to the order of the Records collection).
When nothing matches, the No Search Results Message is shown. The filters stay on screen so the user can change them. The row count, Load more, and totals follow the filtered rows, the same as with Search. Export CSV, when it is on, is greyed out until something matches. Filters are not saved. They are reset when the screen loads again.
CSV export
Turn on Enable CSV Export to add an Export CSV button. The button is shown on desktop and wide tablets when both the component and the browser window are wider than 768px. It is hidden when Salesforce reports the device as a phone, and whenever the component or the browser window is 768px wide or less (for example a narrow column on a desktop page), even when the setting is on. This is the same rule that switches the table to its phone layout. On desktop, the Export CSV button sits above the filter bar, on the right.
The file includes every record that matches Search, filter chips, and filters, in the current sort and group order. This includes rows that are not yet on screen before Load more. The file has the visible columns in table order. The header row uses the column labels (Column Labels are used when they are set).
Values look like the table text. Dates use the Date Format, currency includes its symbol, lookups use the name, and rich text is exported as plain text. Blank cells stay empty. Checkbox columns are exported as Checked or Unchecked. If a visible column is an image, the file has the image URL.
The file uses saved values only. Unsaved inline edits are not included.
Text that starts with =, +, -, or @, or with a tab or a return, gets a leading apostrophe so a spreadsheet shows the text instead of treating it as a formula. A negative number that the component formatted itself, for example -$5.00, is left as it is. Values with commas, quotes, or line breaks are quoted.
The file is UTF-8 with a byte order mark.
If CSV File Name is blank, the file is named records-YYYY-MM-DD.csv, using today's date. If you type a name, .csv is added when needed. Characters that are not allowed in file names become dashes. A name longer than 120 characters is shortened. Leading or trailing dots, spaces, or dashes are removed.
The button is greyed out when nothing matches. When the Records collection is empty, only the empty state is shown (no Export CSV button). The file is built in the browser and downloaded on the device. Nothing is sent to a server.
Row actions
Set Row Actions to a comma-separated list, each Label or Label:value. When no value is given, the value is the label. Duplicate values are dropped, and at most 10 actions are shown. Example: View,Return:return,Extend rental:extend.
Do not put a comma or a colon in a Row Actions label. Those characters are separators: the comma separates actions, and the colon separates the label from the value. A value must not contain a comma.
On a desktop table, a last column shows a menu (vertical dots) on each row. Cards show an Actions button on each card. The List layout shows a menu (vertical dots) on each row. This is the List choice on the Layout setting (one-line rows), not the Compact density switch. A table on a phone keeps the per-row menu column. Card, List layout, and table menus open with automatic alignment, so the menu stays on screen on a narrow phone.
Picking an action sets Selected Row Action (the value), Action Record Id, and Action Record for the row whose menu was used, not the selected row. A selection is not required. It does not select or deselect the row, and the selection outputs do not change. Picking again replaces the three outputs.
Go to Next on Row Action is off by default. When it is off, the user stays on the screen, and the Flow reads the outputs on the next Next. When it is on, picking an action also moves the Flow to the next screen, or finishes when the screen has Finish instead of Next. That action-Next proceeds even when Require Selection is on and nothing is selected. Require Selection still applies to a later normal Next: if nothing is selected, Next is blocked and the Required Error Message is shown. The default message is "Please select a record." The Flow can set a different message.
Opening the Actions button or the dots menu remembers the row. Picking an action such as View or Call then sets the three outputs, and goes to the next screen when Go to Next on Row Action is on, even when Require Selection is on and nothing is ticked. A tap right after the menu closes does not select the row or cancel the action. A later normal Next with nothing selected still shows the Required Error Message.
Typical use: a Decision after the screen, based on Selected Row Action, then Get Records or Update Records on Action Record Id.
How Filters, export, and row actions work together
Each feature is optional and off by default. An existing screen does not change until you turn a setting on.
- Filters, Search, and filter chips all apply together. A row must match all of them. The current sort and group order apply to what is left.
- Clear filters resets filters, Search, filter chips, and sort together.
- Export CSV uses that same filtered and sorted set, including rows not yet shown by Load more.
- Totals, the row count, and Load more follow the filtered rows, the same as with Search. Totals can still include unsaved inline edits (existing totals behavior). The CSV file does not.
- Row actions are available on the rows that are on screen. Picking an action does not change filters, Search, or selection.
- On a phone, and when the component or the browser window is 768px wide or less, filters are available and Export CSV is not. Row actions stay available on cards, List layout rows, and tables.
Row and card colors
Colors apply to whole table rows, cards, and list items. They are not limited to the status cell.
- Set Color Field to the field whose value picks the color. Leave it blank to keep the default look.

Flow Builder. Color Field, Color Map, and Show Status Badge. - Color Field
- Color Map JSON
- Show Status Badge
- Set Color Map JSON, for example
[{'key':'Open','value':'#8DC63F','font':'white'},{'key':'Closed','value':'#F15A29'}]. - Choose how the color shows. With Show Status Badge off (the default), the whole row, card, or list item is tinted. With it on, the value shows as a small colored pill and rows get a 4 px left accent.
- Single or double quotes are accepted in the map. Optional
fontsets the text color. Optionalapimatches the field value whilekeyis a legend label. - Matching is case sensitive on the raw field value. Booleans match as true or false.
- Unmatched values, a blank Color Field or Color Map, or invalid JSON keep the default look. With Show Status Badge on, an unmatched value gets a grey pill.
- Selection borders, edited markers, and error markers stay visible on top of the color.
Badge on

- Status badge
- left accent

- badge
- card accent

- list accent or badge

- badge
- card
Badge off

- whole-row or whole-card tint
The same colors can be set for a priority field, for group headers, and for a color key. See the Colors settings below.
Edit values
Edit Mode (editMode) is None (read-only, default), so the table is read-only. Pick one of two modes to let users change values.
- Pencil icon: a pencil icon sits next to each editable field. The user taps it, edits the value, and taps the check mark to save it on the screen, or the X to cancel.
- Display as Input: editable fields show as inputs. The value updates as the user types. There is no Save or Cancel.

- The input fields
How to save edits in a Flow
The component does not write to the database. Your Flow saves the edits.
- Set Edit Mode to Pencil icon or Display as Input. List the Editable Fields.

Flow Builder. Edit Mode is Pencil icon and Editable Fields lists the fields users can edit. Draft State does not show in this view. Manually assign variables is unchecked in this test flow. - Edit Mode is Pencil icon
- Editable Fields
- Optional: set Column Types for a field that should not use the type the component finds.
- Store Edited Records in a record collection variable.
- Map Draft State to the same Text variable in both Input and Output. Do not leave it unbound.
- After the screen, add an Update Records element that updates from the Edited Records collection.
What the user does:
- The user sees a pencil next to each editable value.

Before. Desktop. Pencils on a table. - The pencil icons

Before. Phone. A pencil on a card. - pencil on the card
- The user taps the pencil and types. In the pencil editor, Enter saves the value on the screen and Escape cancels.

Desktop. The editor is open. - editor
- check mark
- X
- The user taps the check mark. The edited value gets a soft tint, an accent bar, and a small pencil.

After. Desktop. The edit is saved on the screen. - edited marker

After. Phone. The edit is saved on the screen. - edited marker
- The user taps Next. Edited Records holds the changed rows. The Update Records element saves them.

After. Desktop. Edited Records holds the changed row. - editedRecords row
- Formula, lookup, rich text, and location fields are never editable, even if listed.
- An invalid value, for example letters in a number field, shows an error and blocks Next. It is never written to Edited Records.
- The Compact list is display-only. Editing works on cards and in the table.
- On cards, edit controls are at least 44 px tall. Numeric fields use a decimal keyboard so invalid keystrokes stay visible.
- In Input mode, text keeps leading, trailing, and repeated spaces while you edit. Saved values are normalized. After a reload, the normalized text is restored.
- Clearing a filled Description on a card sends a blank value for that field.
- When Draft State is not mapped, valid edits can restore from Edited Records if that collection is passed back in. Invalid typed text is lost when the screen reloads.
- Links keep the brand color so they stay readable on a colored row or card.
- With Edit Mode set to none or left blank, the table looks and acts as it does when editing is off.
- In the pencil editor, Enter saves the value on the screen the same way the check mark does. Escape cancels. Space types normally. These keys do not select the row.
- On desktop compact cards, Space and Enter on the pencil, check mark, and X open, save, and cancel. On dense cards, Space on the check mark and X works the same. This is a desktop result, not a phone keyboard test.
- An edited field on a card always shows its label above its value, across the full card width. Edit controls on a card start at the left. Number, currency, and percent values on cards and in the List layout use evenly spaced digits at every density, so numbers line up. In the table layout, number, currency, and percent values stay right-aligned.
- After a local save, an edited field on a card or desktop table cell shows a soft brand tint, a 3 px brand accent bar, and a small pencil icon. Screen readers hear Edited. There is no Edited word pill.
- The Compact list has no edited marker. It stays display-only, so there is nothing to mark as edited there.
If Next is blocked
With Draft State mapped, an open pencil editor comes back with its text and focus after the screen reloads. Saved and cancelled editors stay closed.

- open editor
- typed text
Dates, rich text, and checkboxes
Show a Date/Time field as a date
- Date-Only Fields (
dateOnlyFields) is a comma-separated list of Date/Time field API names, for examplenativerent__Start_Date_Time__c. - Each listed field shows as a date with no time, in table columns and on cards.
- Only Date/Time fields change. Other field types in the list are ignored.
- Names are not case sensitive, and the
nativerent__prefix is optional. - Sorting still uses the full date and time.
Date and time formats
Date Format and Date/Time Format use a limited set of tokens, for example DD/MM/YYYY or DD.MM.YYYY HH:mm. Supported tokens include YYYY, YY, M, MM, MMM, MMMM, D, DD, Do, d, dd, ddd, dddd, H, HH, h, hh, m, mm, s, ss, A, a, Z, ZZ, L, LL, LLL, LLLL, LT, and LTS. You can wrap literal text in square brackets, and you can escape one character with a backslash. Leave the setting blank for the default look. Tokens the formatter does not support fall back to the default format.

- Purchase_Date
- Created Date

- Purchase_Date
- Created Date
Rich text
- Rich Text Area fields keep their formatting, such as bold text, lists, and pictures, in every layout.
- Tables show about 3 lines. Cards show about 5 lines. The rest is hidden, not cut from the text.
- The Compact list shows one line, and pictures inside the rich text are hidden there.
- A formula that returns HTML, such as a HYPERLINK, shows as formatted text, not as raw tags.
- A value that is only an image, such as an IMAGE() formula for a QR code, shows as an image on cards and in the table.
- Search, sort, card titles, and screen reader labels use the plain text.

- The rendered QR image

- The rendered QR image
Checkboxes
- On cards, a checkbox field shows as a read-only box with a check mark when true. A false or blank value shows as an empty box. In the table, a true value shows as the word Yes and a false value shows blank.
- The box is not an input, so it cannot be confused with row selection. Screen readers read Checked or Unchecked.
- Search treats each box as the word Checked or Unchecked. Typing unchecked finds unchecked records. Typing checked also matches Unchecked.
- Sorting from low to high puts unchecked and blank before checked.


- A true value shows as Yes
- A false value is blank
- The row selector is a separate column

- A read-only check box
Dates and time zones
Coming in the next Native Rent release.
Starting with the next release, Date/Time values in the Native Mobile Data Table show in the time zone on the user's Salesforce profile, the same as the record page. This applies in table, list, and card views, on phone and desktop, including Auto layout. Before, they used the browser or device time zone.
Date fields are unchanged and never shift.
A Date/Time field listed in Date-Only Fields shows the calendar day in the user's Salesforce time zone.
Date Format and Date/Time Format settings still apply.
Search finds the date as shown. When the browser time zone differs from the user's time zone, a search can also match the browser-zone date or time.
Date/Time values in a CSV export are exactly as displayed. They use the user's Salesforce time zone and the configured Date/Time Format.
Nothing to configure. There are no new or changed properties, and stored values are not changed.
If the browser does not recognize the user's time zone, the table falls back to the browser's time zone.
Known limits
- Editing Date/Time cells still uses the browser's time zone.
- Date filters still compare in the browser's time zone.
- The default CSV file name
records-YYYY-MM-DD.csvuses today's date in the browser time zone, so near midnight it can differ by a day.
Settings
The settings are grouped by what they do. The Flow Builder panel has the same groups.
Data and columns
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Records | records | Record collection, required | None | The record collection to show, for example from Get Records. The component does not query again. |
| Object API Name | objectApiName | Text, required | None | API name of the same object as Records, for example nativerent__Rentable__c. Used for field labels and types. |
| Field API Names | fieldNames | Text | None | Comma-separated columns, for example Name,nativerent__Status__c. Ignored when a Field Set loads. |
| Field Set Name | fieldSetName | Text | None | Optional Field Set API name. It takes precedence over Field API Names. If it fails, the component falls back to Field API Names. Needs the Native Mobile Data Table permission set. |
| Column Labels | columnLabels | Text, input | None | Optional. Comma-separated custom headers in the same order as Field API Names (or the Field Set order). Leave an entry blank to keep the field's label, for example Name,,Daily Rate. |
| Column Types | columnTypes | Text, input | None | Optional. Comma-separated Field:type pairs, for example Amount__c:currency,Start__c:dateLocal,Email__c:email. Types: text, number, currency, percent, date, dateLocal, email, phone, url, location, boolean, richText. Blank keeps the types the component finds. |
| Date-Only Fields | dateOnlyFields | Text, input | None | Optional. Comma-separated Date/Time field API names to show as a date without the time, for example nativerent__Start_Date_Time__c. |
| Date Format | dateFormat | Text, input | None | Optional. Tokens such as YYYY, MM, and DD, for example DD/MM/YYYY. Leave blank for the default date look. Tokens the formatter does not support fall back to the default format. |
| Date/Time Format | dateTimeFormat | Text, input | None | Optional. Tokens such as YYYY, MM, DD, HH, and mm, for example DD.MM.YYYY HH:mm. Leave blank for the default date and time look. Tokens the formatter does not support fall back to the default format. |
| Currency ISO Code | currencyCode | Text, input | USD | Currency used to format all currency fields. |
| Field Set Fallback Notice | fieldSetErrorLabel | Text, input | The Field Set could not be loaded; showing the default columns. | Notice shown when the Field Set cannot load. |
Layout and text
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Layout | layoutMode | Text, input | auto | auto, card, table or list. Auto shows cards on phones and narrow screens and a table otherwise. Table scrolls sideways inside itself on phones. List shows compact rows. |
| Fields Per List Row | listFieldCount | Number, input | 2 | Compact list layout only. How many detail fields each row shows, 1 to 4. Blank or invalid uses 2. Uses Card Detail Fields when set. |
| Font Size | fontSize | Text, input | medium | small, medium or large. Scales card text. Small and large also scale table and list text. |
| Density | density | Text, input | Comfortable | Comfortable, Compact or Dense. Tighter spacing. Never hides fields. |
| Show density control | showDensityToggle | True or false, input | true | Shows a Compact switch on the row-count line (off means Comfortable). The user's choice is remembered for the browser session. Turn it off to hide the switch; the Density setting then applies. |
| Sticky First Column | stickyFirstColumn | True or false, input | true | Layout set to table (not Auto). When the table is wider than the screen and scrolls sideways, the select column and the first data column stay pinned on the left, so each row stays identifiable. They are not pinned when the pinned area would take more than 60% of the visible width, or when another column would not fit beside it. No effect when the table fits. |
| Swipe Hint Label | swipeHintLabel | Text, input | Swipe for more → | Layout set to table (not Auto). Small text above the table while more columns are off-screen to the right. Hidden once the user scrolls to the end, or when the table fits. Blank uses the default. |
| Sticky Header | stickyHeader | True or false, input | true | Table layout only. When Max Height is set, the column headers stay at the top while rows scroll. The corner cell also stays put when the first column is pinned. No effect without Max Height. |
| Show Row Stripes | showRowStripes | True or false, input | false | Table layout only. Every other row gets a faint grey background to help follow wide rows. Selected rows, Color Map tints, status accents and edit highlights still show on top. Ignored while Priority Cue is tint. |
| Max Height | maxHeight | Text, input | None | Optional CSS length for a scroll area, for example 480px, 60vh or 30rem. |
| Header Label | headerLabel | Text, input | None | The heading above the list. It is also the screen reader label for the list. |
Cards and list rows
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Card Title Field | primaryField | Text | First column | Field used as the card title. |
| Card Detail Fields | secondaryFields | Text | All columns after the title | Comma-separated fields shown on cards. Up to 4. Leave blank to show all remaining columns. |
| Card Image Field | imageField | Text | None | Optional. A URL field or a rich text image field, for example nativerent__Default_Image__c. |
| Card Expansion | cardExpansion | Text, input | none | Cards and List layout only. none: every detail field shows. details: only the title, the status badge and Face Fields show, and the rest open with a Show details button that does not select the record. Tables never hide columns. |
| Face Fields | faceFields | Text, input | None | Card Expansion details only. Comma-separated fields that always show on the card or list row, for example nativerent__Rate__c,nativerent__Start__c. Blank: the first two Card Detail Fields. |
Selection
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Selection Mode | selectionMode | Text | single | none, single (radio) or multi (checkbox). |
| Preselected Records | preselectedRecords | Record collection, input | None | Records selected at start, matched by Id. |
| Preselected Record Ids | preselectedRecordIds | Text, input | None | Comma-separated record Ids selected at start. |
| Require Selection | required | True or false, input | false | When on, Next or Finish with no row selected shows the Required Error Message. No effect when Selection Mode is none. |
| Required Error Message | requiredMessage | Text, input | Please select a record. | Validation message when Require Selection blocks Next. |
| Show Selection Footer | showSelectionFooter | True or false, input | true | Selection Mode multi only. While at least one record is selected, a bar stays at the bottom with the number selected and a Clear button. |
| Clear Selection Label | clearSelectionLabel | Text, input | Clear | Text of the selection footer button that clears every selection. Blank uses Clear. |
Search, sort, grouping, and paging
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Show Search | showSearch | True or false, input | false | Shows a search box that filters the shown values on the device. |
| Search Placeholder | searchPlaceholder | Text, input | Search | Placeholder text for the search box. |
| Show Sort | showSort | True or false, input | false | Header sort on desktop tables. A sort picker on mobile, cards and list. |
| Group By Field | groupField | Text, input | None | Optional. Field API name to group records under sticky section labels with counts, for example Checked out (4). The order follows the current sort, or the Color Map order when it is the Color Field. Display only: the selection outputs do not change. Blank turns grouping off. |
| Filter Chip Fields | filterFields | Text, input | None | Optional. One or two field API names, usually picklists, for example nativerent__Status__c. A third field is ignored. Shows a row of tap-to-filter chips: All, plus each value found in Records. Filters on the screen together with Search, without querying again. Blank turns chips off. |
| Cards Per Page (Mobile) | initialRowCount | Number, input | 10 | Cards shown at first and added by each Load more on phone and tablet. |
| Rows Per Page (Desktop) | pageSize | Number, input | 25 | Rows shown at first and added by each Load more on desktop. |
| Load More Label | loadMoreLabel | Text, input | Load more | Label for the Load more button. |
| Empty State Message | emptyMessage | Text, input | No records to display. | Shown when Records is empty. When Search or the filter chips match nothing, the No Search Results Message is shown instead. |
| No Search Results Message | searchEmptyMessage | Text, input | No records match your search. | Shown when Search or the filter chips match nothing. Empty State Message is still used when Records is empty. |
Totals
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Show Totals | showTotals | True or false, input | false | Adds a Total row under the table, or a totals strip under cards and the list. It sums the currency and number columns over every record that matches Search and the filter chips, not only the rows on screen. Blank values are skipped. Unsaved edits are counted. It stays at the bottom when Max Height is set. |
| Total Fields | totalFields | Text, input | None | Optional. Comma-separated currency or number field API names to total, for example nativerent__Rate__c,nativerent__Quantity__c. Blank totals every currency and number column. Other field types are never totaled. |
| Total Label | totalLabel | Text, input | Total | Label for the totals row. Blank uses Total. |
Colors
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Color Field | colorField | Text, input | None | Optional. Field API name whose value picks a color from Color Map (same idea as Native Planner Child Color Field). With Show Status Badge off, it tints the row or card. With it on, the value shows as the status pill. Blank turns row and card coloring and pills off. |
| Color Map (JSON) | colorMap | Text, input | None | Optional. Native Planner Child Color Matrix JSON, for example [{'key':'Open','value':'#8DC63F','font':'white'},{'key':'Closed','value':'#F15A29'}]. Single or double quotes. Optional font for text color and api to match an API value while key is a legend label. Blank turns coloring off. |
| Show Status Badge | showStatusBadge | True or false, input | false | Off: Color Field and Color Map tint rows and cards. On: the Color Field value shows as a small pill colored from Color Map, on the card head, in the table cell and on the list title. Rows get a 4px left accent instead of a tint, and values with no Color Map entry get a grey pill. |
| Priority Field | priorityField | Text, input | None | Optional. Field whose values, for example High, Medium and Low, show as a 4px stripe or a light row wash, plus the word. Status stays in the pills. Matching ignores case. Blank turns priority coloring off. |
| Priority Color Map (JSON) | priorityColorMap | Text, input | None | Optional. Same format as Color Map. The value is the light-mode color, hex preferred, for example [{'key':'High','value':'#BA0517'}]. Blank uses the default High, Medium and Low colors. Invalid JSON turns priority colors off. Unknown values get no color, and the word still shows. |
| Priority Cue | priorityCue | Text, input | Blank (shows a stripe) | stripe: a 4px left bar plus the word, for example High. tint: a light row wash plus the word, and Show Row Stripes is ignored. Never both. Blank or any other value uses stripe. |
| Group Color Map (JSON) | groupColorMap | Text, input | None | Optional. Colors for group headers only (a 4px bar and a light fill), in the same JSON format as Color Map, matched on the Group By Field value, ignoring case. Unknown groups and (No value) stay grey. Rows are not tinted. |
| Show Color Legend | showColorLegend | True or false, input | false | Shows a foldable Colors key for the colors in use. Hidden when fewer than two colors are visible, or when labelled status pills are the only colors. On a phone it starts folded, one row tall. |
| Color Legend Start | colorLegendStart | Text, input | Blank (auto) | Optional. auto, expanded or collapsed. Auto: folded on phones; on desktop, open for one color set of 2 to 6 colors and folded otherwise. The user's last open or close is remembered for the browser session. |
Editing
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Edit Mode | editMode | Text, input | none | none (read-only), pencil (a pencil icon; tap it to edit one field, with Save and Cancel), or input (fields show as inputs). Needs Editable Fields. |
| Editable Fields | editableFields | Text, input | None | Comma-separated field API names that can be edited when Edit Mode is pencil or input, for example Rate__c,Available__c. Formula, lookup, rich text, and location fields are never editable. |
Filters and export
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Enable Filters | enableFilters | True or false, input | false | Adds filters for the visible columns. On a wide desktop or tablet: a filter bar. On a phone, or when the component is 768px wide or less (the same mobile rule as the rest of the table): a Filters button that opens a filter sheet. Works with Search, sort, and filter chips. Off by default. |
| Enable CSV Export | enableCsvExport | True or false, input | false | Desktop and wide tablet only: hidden whenever the table shows its phone layout (table or browser window 768px wide or less). Adds an Export CSV button: rows matching Search and filters, current sort, visible columns, formatted values. Off by default. |
| CSV File Name | csvFileName | Text, input | None | Optional file name for Export CSV, for example rentables. .csv is added if needed. Characters not allowed in file names become dashes. Blank: records-YYYY-MM-DD.csv. |
Row actions
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Row Actions | rowActions | Text, input | None | Optional. Comma-separated actions, as Label or Label:value, for example View,Return:return,Extend:extend. Adds a menu on each table or List layout row, and an Actions button on each card. Picking one sets the outputs for that row. A selection is not required. Blank: off. |
| Go to Next on Row Action | autoNavigateOnAction | True or false, input | false | Row Actions only. After an action is picked, the Flow moves to the next screen (or finishes on the last one). A row action does not need a selection. Require Selection still applies to a later normal Next. Off by default: the user stays on the screen. |
Outputs
| Output | API name | Type | Direction | Description |
|---|---|---|---|---|
| Selected Records | selectedRecords | Record collection | Input and output | All selected records. Pass the same variable back in to keep the selection when the user goes back. |
| Selected Record | selectedRecord | Record | Input and output | The first or only selected record. You can also pass a record in. |
| Edited Records | editedRecords | Record collection | Input and output | Records with at least one valid edit. Each item is the original record with the changed fields merged in. The Id is kept. Invalid drafts are left out. |
| Draft State | draftState | Text | Input and output | Keeps edits in progress. Map the same Text variable to Input and Output when editing is on. Do not leave it unbound, so edits survive a blocked Next. |
| Selected Row Action | selectedRowAction | Text | Output | The value of the row action picked last (the label when no value was given). Blank until an action is picked. |
| Action Record Id | actionRecordId | Text | Output | The Id of the record whose row action was picked last. |
| Action Record | actionRecord | Record | Output | The record whose row action was picked last, with only the fields the Flow passed in. |
Copy settings
Copy settings copies a table's setup from one screen to another. It is a folded row at the top of the property editor in Flow Builder. It starts closed. Click it, or press Enter or Space on it, to open it. It also opens by itself when an import preview or an error shows. The table on the screen does not change, and no properties are added.
Copy a table to another screen
- On the first screen, open Copy settings and click Export settings. The file name has your local date, for example
nr-mdt-settings-2026-11-26.json. Or click Copy settings to copy the same JSON. - On the other screen, open Copy settings on a Native Mobile Data Table.
- Choose the file under Import from file, or paste the JSON under Or paste settings.
- Check the list under "These settings will change". Each line shows the API name, the old value, and the new value, for example
selectionMode: none → multi. A blank value shows as "(empty)". - Click Apply. Nothing changes before Apply. Cancel discards the import. "Settings applied." confirms it. "No settings to apply." means the file changes nothing.
- Set Records and any Flow resource values on this screen, then click Done.
If the clipboard is blocked or does not answer within about a second, a read-only box shows the JSON with "If the settings were not copied to the clipboard, select all and copy from the box below." and "Select all and copy." The box can show together with "Copied.". If your paste is empty, copy from the box. If the download cannot start, the same box shows with "If the file did not download, copy the settings below."
What is not copied
- Records and Preselected Records.
- The outputs and edit state: Selected Records, Selected Record, Edited Records, Draft State, Selected Row Action, Action Record Id, and Action Record.
- Any value that points to a Flow resource, such as
{!variable}.
If a file has them, the preview lists them as ignored and leaves them as they are. The Object is copied. When the file has a different Object, the editor sets it first. Then check Records and the field settings before you click Done. A file cannot clear the Object.
Import rules
- Export saves only settings that have a value. An import does not clear settings the file leaves out. In a file you edit by hand,
nullor""clears a setting, except the Object. - Card Detail Fields keeps at most 4 fields and Filter Chip Fields at most 2. A longer list is cut to the first 4 or 2, and the preview says so, for example "Adjusted: Card Detail Fields (secondaryFields): 7 of max 4. Only the first 4 will be imported."
- A Priority Color Map or Group Color Map that is not valid JSON is not imported, and the preview says so.
- If the file would leave the table with no Columns and no Field Set Name, that change is not imported. The current columns stay, and the preview says so.
- Field names are copied as they are. They are not checked against the Object, so check them when the Object is different.
- Settings the table does not have, and values of the wrong type, are listed as ignored.
Too many fields in a list
When Card Detail Fields has more than 4 fields, or Filter Chip Fields more than 2, a red message shows under the field, for example "Card Detail Fields: 7 selected, max 4. Remove 3." Done is blocked until you remove fields. The Flow Builder error popup only says "You have 1 error.", so look under the field for the message.
Messages
| Message | Meaning |
|---|---|
| This is not valid settings JSON. | The text is not JSON, or it has no settings. |
| This file is not Mobile Data Table settings. | The file is from another component, for example an NC component. |
| This file is missing a valid settings version. | The file has no valid version number. |
| This file is from a newer version. Some settings may be skipped. | The known settings still import. |
| This file is too large. | The file is over 256 KB. |
| The file could not be read. | The browser could not open the file. Try again, or paste the JSON. |
File format
The file is JSON with these keys. You can edit it by hand.
schema:nrMobileDataTable.settingsversion:1exportedAt: the export time, for example2026-11-27T00:10:00.000Zproperties: the settings by API name, for example{"objectApiName": "Account", "fieldNames": "Name,Industry", "showSearch": true, "pageSize": 25}. Values are true or false, numbers, or text. 61 of the table's properties can be copied.
Limits and mobile tips
Limits
- The Compact list has no Show more. Long text ends in an ellipsis with no way to expand it.
- The Show more and Show less labels, and the Show details and Hide details labels, are in English only.
- At 400% zoom, table headers can be cut off.
- Rendered rich text in an expanded Description field has not been tested yet.
- The table has been checked on one phone in the Salesforce mobile app. Other phones, Android, and tablets are not fully covered yet.
- Tapping a lookup link opens the record and leaves the Flow screen.
- When the user goes back in the Flow, the selection is kept in table and card modes. Any search text is cleared.
- If a user does not have the permission set, the Field Set fallback is not fully covered yet.
- On a keyboard, Tab moves through search, rows or cards, and buttons. Space selects a row or card. On a sortable table, Enter or Space on a column header sorts it. The selected count is announced as it changes. Screen reader behavior is not tested yet.
- At 320 px wide the page does not scroll sideways. A wide table scrolls inside its own box.
- Rich text image URLs in the mobile app.
- Date-Only Fields can be set in the Flow Builder property editor. This chapter does not describe how a date-only column appears on a running screen, on desktop or in the mobile app.
- This chapter does not describe how Rich Text, Column Labels, and Date-Only Fields appear on a running Flow screen, on desktop or in the mobile app.
- This chapter does not describe how formula text fields that return HTML (such as HYPERLINK) appear on a running Flow screen, on desktop or in the mobile app.
Mobile tips
- Use Layout Auto in most cases. It shows cards on phones and when the component is 768 px wide or less.
- Keep cards short. Cards show a title and up to 4 detail fields.
- Use the Compact list for long lists where people pick by name.
- Use the Table layout for many columns. On phones it scrolls sideways inside its own box.
- On a phone, Show Sort adds a sort picker above cards and list rows.
- Keep Cards Per Page (Mobile) low. Users tap Load more to see more.
Permission set
- The permission set is Native Mobile Data Table. Its API name is
Native_Mobile_Data_Table. - It gives access to the Apex class
NrMobileDataTableController. That class reads Field Set definitions only. - Users need it only when Field Set Name is filled in. Without it, the component falls back to Field API Names.
Worked examples
Every example uses Layout table and Show Sort on. The names in the tables are the real property names: fieldNames, layoutMode, listFieldCount, objectApiName, columnLabels, and dateOnlyFields.
Review rental lines, dates without times
Select Rental Transaction For Contact and Select Rental Transaction For Rentable, screen element Transaction_Details_Date.
| Property | Value |
|---|---|
| T (Object) | Rental Transaction Detail |
| records | Retrieve_Transaction_Details |
| objectApiName | nativerent__Rental_Transaction_Detail__c |
| fieldNames | nativerent__RentableName__c,Name,nativerent__Status__c,nativerent__Rate__c,nativerent__Quantity__c,nativerent__Total_Amount__c,nativerent__Start_Date__c,nativerent__End_Date__c |
| columnLabels | Rentable,Line,Status,Rate,Qty,Amount,Start,End |
| dateOnlyFields | nativerent__Start_Date__c,nativerent__End_Date__c |
| selectionMode | none |
| layoutMode | table |
| showSort | true |
| headerLabel | Rental lines |
A read-only list of the rental's lines. Start and End show as dates only. The same Flows have a second table, Transaction_Details, with the same settings but no Date-Only Fields, for date and time mode.
- A rental is selected on the Checkout screen. Tap Review lines. The Continue button is the other button.

Before. Desktop. A rental is selected. - Review lines
- The Review rental lines screen has a Rental lines table. Start and End show as dates only. Back to rentals and Check Out are at the bottom.

After. Desktop. Dates only. - Start
- End

After. Phone. Dates only. - Start
- End
- For comparison, the date and time version of the same lines.

Compare. Desktop. Date and time. - Start, with the time
- End, with the time
Pick one rate, selection required
NR Edit Rental Transaction, screen element RentableRatesFound. The Choose a rate screen shows only when the Rentable has no rate of the rental's charge type and has two or more other rates. The Flow reads the other rates from Get_Other_Rentable_Rates.
| Property | Value |
|---|---|
| T (Object) | Rental Rate |
| records | Get_Other_Rentable_Rates |
| objectApiName | nativerent__Rental_Rate__c |
| fieldNames | nativerent__Charge_Name__c,nativerent__Charge_Type__c,nativerent__Rate__c |
| columnLabels | Charge Name,Charge Type,Rate |
| selectionMode | single |
| required | true |
| layoutMode | table |
| showSort | true |
| headerLabel | Rentable rates |
The user must pick one rate before Next. The table sits under the heading Rentable rates. The Flow reads the pick from Selected Record.
- Nothing is selected yet. If the user presses Next, the screen shows Please select a record.

Before. Desktop. Nothing is selected. The message Please select a record. shows. - The Rentable rates table
- The message Please select a record.

Before. Phone. Nothing is selected. - The Rentable rates table
- The user picks one rate.

After. Desktop. The Weekly row is selected. - The selected row

After. Phone. The Weekly row is selected. - The selected row
Pick several add-ons, with search
NR Edit Rental Transaction, screen element IncludeAddOn.
| Property | Value |
|---|---|
| T (Object) | Rentable |
| records | Add_Onwithout_Conflict |
| objectApiName | nativerent__Rentable__c |
| fieldNames | Name,nativerent__Name__c,nativerent__Rentable_Details__c,nativerent__Best_Rate__c,nativerent__Non_serialized__c |
| columnLabels | Rentable,Name,Rentable Details,Best Rate,Non-serialized |
| selectionMode | multi |
| preselectedRecords | Current_AddOn_Items |
| showSearch | true |
| layoutMode | table |
| showSort | true |
| headerLabel | Available add-ons |
Checkboxes for several Rentables. The Flow reads Selected Records.
- The Add-ons screen lists Current add-ons and Available add-ons. Under Current add-ons, a tick marks an add-on to remove.

Before. Desktop. The Add-ons screen. Current add-ons are listed first. Available add-ons has a search box. - Current add-ons, already on the rental
- The search box above Available add-ons

Before. Phone. The Add-ons screen on a phone. - Current add-ons, already on the rental
- The search box above Available add-ons
- Type in the search box. The list shortens.

Desktop. Auger is typed. The list shows 1 of 2. - The search box with the text Auger
- The filtered list

Phone. Auger is typed. - The search box with the text Auger
- Select one more add-on.

After. Desktop. One add-on is ticked. The bar shows 1 selected and Clear. - The new row is ticked
Match a contact on a standard object
Native Barcode Scanner Template, screen element ContactsFound.
| Property | Value |
|---|---|
| T (Object) | Contact |
| records | Search_For_Contacts |
| objectApiName | Contact |
| fieldNames | Name,Email,Phone,Birthdate |
| columnLabels | Name,Email,Phone,Birthdate |
| selectionMode | single |
| layoutMode | table |
| showSort | true |
| headerLabel | Matching contacts |
Shows the contacts that match a scan so the user can pick one. It works the same on standard objects.
- The matching contacts show. None is selected.

Before. Desktop. None selected. The Show Details button is at the bottom. - Name
- Phone
- Birthdate

Before. Phone. None selected. - The Matching contacts table
- The user picks one contact.

After. Desktop. One contact selected. - The selected row

After. Phone. One contact selected. - The selected row