Table Personalization Dialog
The table personalization dialog allows you to display and modify table settings. It is a UI pattern that defines column order and visibility.
Usage
Use the table personalization dialog if:
- You have small tables.
- You have a manageable number of columns.
Do not use the table personalization dialog if:
- You have large tables.
- You have a lot of columns to manage.
For larger tables you can use the P13n dialog (sap.m.P13nDialog) instead.
Responsiveness
On a desktop and tablet, the control appears as a dialog window.
The table personalization dialog should always be displayed in full screen mode on a smartphone device.
Layout
Position on the Screen
The dialog always opens in a modal window in the center of the screen.
For smartphones, stretch the dialog to fill the entire screen. For tablet and desktop devices, keep the modal window.
Layout of the Dialog
The table personalization dialog comprises the following five areas:
Components
The table personalization dialog contains the following sections:
Toolbar
The toolbar displays the Move Column Up and Move Column Down buttons and the Search field.
Column list
The column list displays the result list of columns. The user can use the search field in the toolbar to filter the selection.
Footer toolbar
The footer toolbar displays an OK and a Cancel button.
Behavior and Interaction
The user can show or hide all columns with just one click. A checkbox on the left-hand side of the subtoolbar enables all list items to be selected or deselected.
(1) Columns are visible in the table.
(2) Columns are hidden in the table.
Move Columns
Two buttons in the toolbar on the left-hand side enable a selected column to be moved up or down.
Move Column Up
(1) Select a column (by clicking on the list item).
(2) Use the Move Column Up button to move the column to the left in the table.
- If the first position has been reached, the Move Column Up button is disabled.
Move Column Down
(1) Select a column (by clicking on the list item).
(2) Use the Move Column Down button to move the column to the right in the table.
- If the last position has been reached, the Move Column Down button is disabled.
Search/Filter Columns
A search field in the toolbar on the right-hand side enables columns to be searched/filtered.
The user can type any character into the search field to filter the columns to match the input.
To reset a search, the user must delete all the characters that have been entered, or simply presses the Cancel button in the search field.
All the columns are shown again in the list.
Undo Personalization
The Undo Personalization button in the subtoolbar on the right-hand side resets all settings to the initial state.
If the table personalization dialog is used together with variant management, the button resets the changes to the initial state of the selected variant.
Guidelines
Search Behavior
The search is a live search (also known as “search-as-you-type”), which is triggered by each character the user enters or deletes. For more information, see search.
Resources
Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.
Elements and Controls
- Toolbar (guidelines)
- Button (guidelines)
- Search (guidelines)
- List (guidelines)
- Footer Toolbar (guidelines)
Implementation
- Table Personalization Dialog (SAPUI5 samples)
- Table Personalization Controller (SAPUI5 samples)
- Table Personalization Dialog (SAPUI5 API reference)
- Table Personalization Controller (SAPUI5 API reference)