Untitled

Visibility allows you to customize which fields to show in the collection and which to hide. You can also arrange their placement relative to each other.

Main Elements

https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/5767b22e-1c02-4211-a4ea-a1e122cccc67/Untitled.png

  1. Visibility Icon Clicking on it opens a modal. If changes were made in visibility, the icon will be light purple in the closed state of the modal, signaling that the settings have been changed. But without a counter, unlike filtering and sorting;
  2. 'X' button Closes the sidebar;
  3. Field Search Allows you to find the needed field by name;
  4. Counter of displayed fields Shows how many fields are currently displayed in the collection out of 8 possible.
  5. Field List Displays all available fields for display and shows their current state.

Showed fields limitation

You can display up to 8 fields in the collection. This is done to avoid cluttering the workspace and to avoid horizontal scrolling (see Collection).

https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/33f663a2-7bce-437a-828b-3888f3c3f702/Untitled.png

Let's look at what the modal looks like with different numbers of fields:

  1. All fields are hidden and the counter shows 0/8
  2. Some fields are enabled and the counter shows 4/8
  3. 8 fields are enabled, as indicated by the counter. All remaining hidden fields are in a disabled state. To display the Brand field, you will first need to hide one of the displayed fields and only then enable Brand.

Field States

https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/fe600bfc-bce6-4464-8504-95899a6c8837/Untitled.png

Fields can have three states:

  1. Active (field is displayed in the collection)
  2. Hidden (field is hidden in the collection, but it can be enabled)
  3. Disabled (field is hidden in the collection and it cannot be enabled, as 8 fields are already displayed)

The active and hidden states are toggled by clicking across the entire width of the row. Changes are applied immediately.

Moving fields

Visibility sidebar support drag-and-drop. Let's try to move the Price field to the second place.

  1. Hover over the grip icon

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/a1bea400-b49c-4ec2-ba9d-400e150af1d9/Untitled.png

  2. Click and drag the field upwards.

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/07be8c24-45d9-46da-8d2d-69242fd0959a/Untitled.png

  3. Done. The field has moved in the collection. Also, we see that the 'Save changes' button has appeared because we have changed the view settings (see Saving views).

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/e30c51b4-0ccb-4ba4-807e-9e46b23c7b6c/Untitled.png

Search bar

Let's try to find the necessary fields through the visibility search bar

  1. Click on the 'Search by field name' field

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/86a1f9b7-4aa3-4dc2-a4f3-652ba0cba9b6/Untitled.png

  2. We see that the search field is active. Type the word Sale

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/75e1f07a-8840-4fd4-833b-f5a6b0b437bb/Untitled.png

  3. The search is performed as you type symbols. We got 2 fields. Note: Search results can only be hidden/displayed. They cannot be moved around each other.

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/5e349ef8-de94-4cb1-8e15-b5418333c80c/Untitled.png

  4. To disable the search, you need to click on the 'x' button and the modal will return to its default state. You can also press 'Esc' and the search will reset. The modal will return to its default state.

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/2fed9e08-1531-4d08-927b-26e5b00a8e35/Untitled.png

Side Cases

  1. If all 8 fields are already displayed and you open a search, all hidden fields in the search result will be disabled. This means that the results can only be disabled. But you can disable another and enable that you want.

    https://prod-files-secure.s3.us-west-2.amazonaws.com/77b19e1f-fa29-4251-a818-bada7857b56b/060713a0-886c-40a7-93ac-159c98fcbcd9/Untitled.png

  2. If you close the sidebar during a search, the search will reset and close, i.e., when the sidebar is reopened, it will be in its default state.

<aside> 🔖 Read more on this topic ——————————— Filter Filtering methods Sorting Sorting methods

</aside>

<aside> ➡️ Read next topic — Content editor ——————————————— Editor page

</aside>