Display options
Fonts, density, Show more, color map, dates, rich text, checkboxes, and editing on Native Mobile Data Table.
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.
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. - 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
Date/Time values in the Native Mobile Data Table use the browser or device time zone. This applies in table, list, and card views, on phone and desktop, including Auto layout.
Date fields are unchanged and never shift.
A Date/Time field listed in Date-Only Fields shows the calendar day in the browser or device 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.