List - Simple

Interactive component that shows an in-product list of records from a database table that displays a reduced set of features, allowing the simple list to fit in small spaces

Overview

  • Release version
    Yokohama
  • Available sinceQuebec
  • A11Y WCAG 2.1 AA

Anatomy

Learn about the individual parts of list - simple.

Simple list

 Anatomy of the list-simple component
  1. Header: Area that contains a title that describes the contents of the list
  2. Body: Column headers and rows that organize the list item
 Anatomy of the list – simple header
  1. Title: Title of the list
  2. Badge with record count: Displays the total number of records in the data result set
  3. Refresh time: Text indicating how long ago the list last refreshed
  4. Refresh button (optional): Refreshes the list on demand with the latest data from the data source

Body

 Anatomy of the list – simple bodyr
  1. Column headers: Labels that identify the table data in the column; users can sort records by clicking on the column header
  2. List item: Individual item within the list body that contains filterable data
  3. Links: Reference fields and URLs that appear as links in the list, providing user access to web pages and records; links can be disabled and made read-only
  4. Empty state image: Image that displays when there is no data in the list
 Anatomy of the list – simple footer
  1. Show all button: Button that display all records in a full page list

Subcomponents

See usage guidance for badge

See usage guidance for button

See usage guidance for button bare

See usage guidance for dropdown

See usage guidance for highlighted value

See usage guidance for icon

See usage guidance for loader

See usage guidance for pagination control

See usage guidance for popover

See usage guidance for split button

See usage guidance for text link

See the usage guidance for list menu

Usage

Learn about list - simple and find out how to use it in your design. List - simple is meant to be used as a widget component on a landing page or dashboard that has drill-down functionality. This list type offers limited actions and functions as a "snapshot" of table data.

Configurations

Learn how to customize list -simple by configuring the available properties.

Presets and controllers

This component contains a preset configuration that automatically configures properties and event handlers for a component, making the component ready to work when you add it to a page. A preset is designed to suit a specific use case. However, you can override preset property values with a custom configuration if you find it necessary for your design. Preset values that you override aren’t upgraded when updates are available. If you don’t want to use the preset values provided, select the option to configure the component manually. You can apply one preset to a single instance of a component on a page. For more information, see Presets.

A preset is always associated with a controller, which acts as a data resource for the component. Controllers provide the configuration data and event bindings the component needs to function in your experience. By selecting a preset, the required controller is added to the page. By adding a controller to the page, any new applicable components will have that controller's preset. For more information about how controllers work, see Controllers. For instructions on using the data inspector to view the default presets for a component, see View properties and events in the Controller API.

You can show or hide every subcomponent or element within the header, including the header itself.

Badge

The badge shows the total number of records in the system. A plus (+) sign indicates more records are available. You can hide the badge.

Table data

Select the table from which the records in the list are drawn, select the columns from that table to display, and create an initial filter for the data. You can configure the number of rows to display and the number of data columns.

Filters

Filters you create show up in the Filter panel. By default, the user can delete, edit, or create filters, unless you hide these capabilities. If you want to add a read-only filter to the simple list, create a “fixed filter.”

Shows the anatomy of the list filters
  1. Filter conditions: Conditions set for the filter in the advanced view
  2. Delete condition button: Deletes a filter condition
  3. Panel footer: Contains action buttons for managing filters
  4. Restore defaults button: Replaces user’s current list of filters with the filters you create
  5. Advanced view button: Accesses the condition builder, enabling users to create filters
Shows the anatomy of the advanced filter with the condition builder
  1. Use existing filter dropdown: Displays a list of saved filters; users can save commonly used filters to reuse as is or as building blocks for new filters
  2. Save filter button: Saves a filter to the list of existing filters for reuse
  3. Refresh icon: Returns an accurate count of the number of records that match the filter conditions but doesn’t save a filter
  4. Condition set: Enables users to add or remove a filter condition from a set of conditions
  5. New condition set button: Adds an “or” condition group to the existing condition group
  6. Primary action button: Runs the filter with the current conditions

Creating filters

By default, users can filter a simple list by creating new filters and updating existing ones. You can limit what users can do with filters by removing the abilty to access the condition builder, delete a filter, and restore the default filters.

Note: Fixed filters take precedence over regular filters. All fixed filters are resolved first, and then any regular filters are run against the results.

Heading Large (emphasis)

Users can’t delete or modify fixed filters that you create. For example, you can create a fixed filter for a list that only shows the user’s assigned work on a dashboard. The user can’t view another user’s records in that list on their dashboard.

List body

Column sorting is always enabled in a simple list. You can define the number of rows and columns and configure the table data that displays to your users.

Word wrap

You can enable or disable word wrap for column entries. If word wrap is set to true, it's enabled in the list, regardless of the user preferred setting.

The only footer option available by default is the View All action, which can be hidden.