mirror of https://github.com/nocodb/nocodb
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.
38 lines
1.7 KiB
38 lines
1.7 KiB
12 months ago
|
---
|
||
|
title: "Display Value"
|
||
|
description: "Understanding Display Value in NocoDB!"
|
||
12 months ago
|
keywords : ['NocoDB display value', 'display value', 'display value in nocoDB', 'display value in nocoDB']
|
||
12 months ago
|
---
|
||
|
|
||
|
# 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
|
||
12 months ago
|
![display value](/img/v2/fields/display-value.png)
|
||
12 months ago
|
|
||
|
Display Value associated when Links field
|
||
|
The value shown in `Link Records` modal when adding a new link is associated records `Display value`
|
||
|
|
||
12 months ago
|
![display value- links field](/img/v2/fields/display-value-in-linked-record.png)
|
||
12 months ago
|
|
||
|
|
||
|
## Set Display Value
|
||
|
Click dropdown icon (🔽) in the target column. Click `Set as Display Value`.
|
||
|
|
||
12 months ago
|
![display value set](/img/v2/fields/set-as-display-value.png)
|
||
12 months ago
|
|
||
|
:::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.
|
||
|
:::
|