多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.8 KiB

---
title: "Display Value"
tags: ['Fields', 'Display Value']
description: "Understanding Display Value in NocoDB!"
keywords : ['NocoDB display value', 'display value', 'display value in nocoDB', 'display value in nocoDB']
---
# Display Value
The `Display Value`, as its name suggests, serves as the primary or main value within a row of a table, and it is typically the attribute by which we identify or associate that specific row. While it is advisable for the display value to be linked to a column with unique identifiers, such as a primary key, it's important to note that this uniqueness is not always enforced at the database level.
## Use of Display Value
- Within a spreadsheet, `Display Value` are always highlighted so that it is easier to recognise what row we are in.
- And when `Links` are created between two tables - it is the Display Value that appears in `Linked records` modal.
Example:
Display Value highlighted in Actor table
![display value](/img/v2/fields/display-value.png)
Display Value associated when Links field
The value shown in `Link Records` modal when adding a new link is associated records `Display value`
![display value- links field](/img/v2/fields/display-value-in-linked-record.png)
## Set Display Value
Click dropdown icon (🔽) in the target column. Click `Set as Display Value`.
![display value set](/img/v2/fields/set-as-display-value.png)
:::info
How is Display Value identified for existing database tables ?
- It is usually the first column after the primary key which is not a number.
- If there is no column which is not a number then the column adjacent to primary key is chosen.
Can I change the Display Value to another column within tables ?
- Yes, you can use the same way mentioned above to set Display Value.
:::