Sub topic 7
Display Modes, Charts, and Inline Editing
This chapter assumes you can already open a list view and change its filters, as covered in the previous chapter. You should also know what an object, record, field, and picklist are. Here you will change how a list view looks, add a chart above it, and edit records without leaving the list.
Where the display controls live
Every list view has a control bar above the rows. The controls that matter here are:
- The Display As button, an icon with a dropdown arrow. It switches between Table, Kanban, and Split View.
- The Charts button. It shows or hides the chart panel. It appears for list views of objects that support charts.
- The Refresh button. It reloads the rows after other users or processes change data.
- The List View Controls gear. It opens menu items such as Select Fields to Display, Edit List Filters, and Rename.
Your choice of display mode is remembered for that list view and that user. Another user opening the same list view may see a different mode. Changing the display mode does not change the filters, so the same records match in every mode.
Table mode
Table is the default. It shows one row per record and one column per selected field. Use it when you need to compare field values across many records.
Table mode is the only mode that gives you every list feature at once:
- Column sorting by clicking a header.
- Column resizing and text wrapping.
- Row checkboxes for bulk actions and bulk inline edits.
- Inline editing on individual cells.
The table loads rows in batches as you scroll, so you do not see every matching record immediately. If you expect many results, rely on filters and sorting rather than scrolling.
Kanban mode
Kanban shows records as cards in columns. Each column is one value of a picklist field. A card for an Opportunity in the Negotiation stage sits in the Negotiation column.
Kanban is available for objects that have at least one picklist field. When you first select it, you choose its settings:
- Group By is the picklist field that defines the columns. For Opportunities this is usually Stage. For Accounts it could be Industry or Type.
- Summarize By is an optional currency or number field. Each column header then shows the total of that field, such as the sum of Amount for each stage.
- Fields on the cards come from the columns of the list view, so adjusting the selected fields changes what the cards show.
Dragging a card from one column to another updates the Group By field on that record. This is a real save. Validation rules, required-field checks, and field-level security all apply. If a rule blocks the change, the card returns to its original column and an error message appears.
Kanban works best when the Group By field has a small, meaningful set of values. A picklist with 40 values produces 40 columns and is hard to use. Kanban also does not offer table features such as column sorting and row checkboxes.
Split View mode
Split View divides the screen. A compact list of records sits on the left. The record page of the selected record opens on the right. Clicking another record on the left replaces the right panel without a full page load.
Use Split View when you work through a queue, such as reviewing Cases one after another. You do not have to click Back to the list after each record. The left panel shows only the primary field, usually Name, and a few other fields, so it is not suited to comparing many fields.
You can collapse the list panel to give the record more room, and expand it again from the same edge. Console apps often default to Split View because it fits their workflow. Console navigation is covered in a later chapter.
Choosing a display mode
| Mode | Best for | Strength | Limitation |
|---|---|---|---|
| Table | Comparing fields across many records | Sorting, bulk actions, inline editing | Shows records only as rows |
| Kanban | Moving records through stages | Drag-and-drop updates, column totals | Needs a picklist; few other list features |
| Split View | Working through records one by one | Record detail beside the list | Shows few fields per record in the list |
List view charts
A list view chart summarizes the records in the current list view. It appears in a panel above the list when you click the Charts button. Because the chart reads the list view's records, changing the filters changes the chart.
To create or change a chart, open the chart settings (the gear in the chart panel) and choose Edit Chart. You set these options:
- Chart type: vertical bar, horizontal bar, donut, funnel, or line.
- Aggregate type: record count, sum, average, minimum, or maximum.
- Aggregate field: the numeric field to calculate on. It is needed for every aggregate type except record count.
- Grouping field: the field that splits the records into bars or slices, such as Industry or Stage.
A chart of record count grouped by Industry for the list view "Technology and Finance Accounts" gives the same numbers as this query:
SELECT Industry, COUNT(Id)
FROM Account
WHERE Industry IN ('Technology', 'Finance')
GROUP BY Industry
ORDER BY IndustryEach bar is one row of the result. The WHERE clause comes from the list view filters. The GROUP BY field is the grouping field you chose.
Charts are also interactive. Clicking a bar or slice filters the list below to the records behind it. Clicking again clears that temporary filter. This does not edit the saved list view filters.
Inline editing
Inline editing lets you change a field value directly in the list without opening the record. In Table mode, you edit a single cell like this:
- Hover over a cell. A pencil icon appears if the field can be edited.
- Click the pencil, or double-click the cell. The cell turns into an input control that matches the field type: a text box, picklist, date picker, or lookup search.
- Enter the new value.
- Click Save in the bar that appears at the bottom of the list. Click Cancel to discard your change.
The edit is not saved until you click Save. Cells with unsaved changes are marked, and you can change several cells in different rows before saving them in one step.
Editing several rows at once
You can apply one value to many records:
- Select the checkboxes for the rows you want to change.
- Edit the field in one of the selected rows.
- Select the option that applies the change to all selected rows. It is a checkbox that names the number of selected items.
- Click Save.
Salesforce then updates the field on every selected record. If some records fail, a message lists the failures and the successful ones are still saved. Read the message, because a partial save is easy to miss.
Why a cell may not be editable
No pencil icon appears in several common cases:
- The field is read-only, as with formula fields, auto-number fields, roll-up summary fields, and system fields such as Created Date.
- Field-level security gives your profile or permission sets read access only.
- The record is locked or you lack edit access to it. Sharing rules and record ownership determine that.
- Your administrator turned off inline editing for the org in the user interface settings.
- The field type is not supported in list editing. Some compound fields, such as the address on an Account, may need to be edited on the record page.
The same save rules apply as on a record page. A required field left empty or a validation rule failure produces an error on that cell, and the row stays unsaved until you fix it.
Common mistakes
- Leaving the page with unsaved edits. Edits are lost if you navigate away before clicking Save.
- Editing in a stale list. Another user may have changed the record. Refresh first, or the save may show a conflict error.
- Selecting rows after editing. If you tick the checkboxes after you have edited a cell, the change may not apply to the other rows. Select first, then edit.
- Expecting inline editing in Kanban. Kanban offers drag-and-drop for the Group By field only. Switch to Table to edit other fields.
Exercise
You open an Opportunities list view in Kanban mode, grouped by Stage. A colleague asks you to change the Close Date on 15 of the opportunities to the end of the quarter. Which display mode should you switch to, and what steps would you follow?
Show answer
Switch to Table mode, because Kanban cannot edit fields other than the Group By field. Select the 15 rows with their checkboxes, edit the Close Date in one of the selected rows, choose the option that applies the change to all selected items, and click Save. Then check for any error message about records that failed to save.
Exercise
A chart on your Accounts list view shows record count grouped by Industry. You then change the list view filter to show only Accounts in the United States. What happens to the chart, and why?
Show answer
The chart updates to count only United States Accounts by Industry. A list view chart summarizes the records that the list view's filters return, so changing the filters changes the chart's data. The chart type, aggregate type, and grouping field stay the same.