Raw
1 ---
2 sidebar_position: 5
3 sidebar_label: "Configure Table Views"
4 tags:
5 - user guide
6 - settings
7 products:
8 - settings
9 ---
10
11 import { Adjustments, Funnel, DescendingSorting } from "@medusajs/icons"
12 import { InlineIcon } from "docs-ui"
13
14 export const metadata = {
15 title: `Configure Table Views in Medusa Admin`,
16 }
17
18 # {metadata.title}
19
20 In this guide, you'll learn how to customize data tables in the Medusa Admin dashboard and save your customizations as reusable views.
21
22 <Note>
23
24 Configurable table views are an experimental feature that your technical team must enable in your Medusa application before you can use it. If you don't see the view options described in this guide, ask your technical team to [enable them](!resources!/commerce-modules/settings/view-configurations).
25
26 </Note>
27
28 ## What are Table Views?
29
30 Many pages in the Medusa Admin show your data in tables, such as the products or orders list. A table view is a saved customization of a table, including which columns are shown, their order, the applied filters, the sorting, and the search query.
31
32 You can create personal views that only you can see, and you can set a default view that applies to everyone in your team.
33
34 There are two types of views:
35
36 - **Personal views**: Views that you create and that only you can see.
37 - **Default view**: The view that applies to everyone in your team who doesn't have their own personal view.
38
39 ---
40
41 ## Switch Between Views
42
43 At the top of a supported table, you'll find a row of view badges. The **Default** badge is always available, followed by a badge for each of your personal views, if you have any.
44
45 To switch to a different view, click its badge. The table updates to show the columns, filters, and sorting of the selected view. Your selection is saved, so the table shows the same view the next time you open the page, even on a different device.
46
47 ---
48
49 ## Customize a Table
50
51 To customize a table, use the following controls at the top of the table:
52
53 - <InlineIcon Icon={Adjustments} alt="Columns" />: Show or hide columns, and change their order.
54 - <InlineIcon Icon={Funnel} alt="Filters" />: Add filters to narrow down the records shown in the table.
55 - <InlineIcon Icon={DescendingSorting} alt="Sorting" />: Change the column and direction the table is sorted by.
56 - **Search**: Type in the search field to find specific records.
57
58 You can also resize a column by dragging the edge of its header.
59
60 After you customize a table, click the **Save** button to save your changes. The **Save** button shows a menu with the following options, depending on the active view:
61
62 - **Save as new view**: Create a new personal view. You're prompted to enter a name for the view. After you save it, the new view becomes active and appears as a badge.
63 - **Update view**: Update the active personal view with your changes. This option only appears if you're making changes to an existing personal view.
64 - **Update default for everyone**: Save your changes to the default view. This becomes the new default for everyone in your team.
65
66 ---
67
68 ## Reset Default View
69
70 If you updated the default view and you want to revert it to the original columns and settings, you can reset it by doing the following:
71
72 1. Right-click the **Default** badge at the top of the table.
73 2. Choose **Reset to code defaults** from the menu.
74 3. Confirm the reset in the popup that appears.
75
76 This resets the default view to the original columns and settings, and it applies to everyone in your team.
77
78 ---
79
80 ## Manage Personal Views
81
82 ### Rename a Personal View
83
84 To rename a personal view:
85
86 1. Right-click the view's badge at the top of the table.
87 2. Choose **Edit name** from the menu.
88 3. In the side menu that opens, enter a new name for the view.
89 4. Click **Update** to save the new name.
90
91 ### Delete a Personal View
92
93 <Note type="warning">
94
95 Deleting a personal view is irreversible. Once you delete a view, you can't recover it.
96
97 </Note>
98
99 To delete a personal view:
100
101 1. Right-click the view's badge at the top of the table.
102 2. Choose **Delete** from the menu.
103 3. Confirm the deletion in the popup that appears.