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.
42 lines
1.7 KiB
42 lines
1.7 KiB
3 years ago
|
---
|
||
2 years ago
|
title: "Display Value"
|
||
|
description: "Understanding Display Value in NocoDB!"
|
||
3 years ago
|
---
|
||
|
|
||
2 years ago
|
## What is a Display Value ?
|
||
|
|
||
|
- Display Value as the name stands is the primary or main value within a row of a table that you generally associate that row with.
|
||
3 years ago
|
- It should be usually associated with a column which is uniquely identifiable. However, this uniqueness is not enforced at the database level.
|
||
2 years ago
|
- Before v0.105.0, Display Value was known as Primary Value.
|
||
3 years ago
|
|
||
2 years ago
|
## What is the use of Display Value ?
|
||
|
- Within a spreadsheet, Display Value are always highlighted so that it is easier to recognise what row we are in.
|
||
1 year ago
|
- And when LinkToAnotherRecord is created between two tables - it is the Display Value that appears in LinkToAnotherRecord column.
|
||
3 years ago
|
|
||
2 years ago
|
#### Example : Display Value highlighted in Actor table
|
||
3 years ago
|
|
||
1 year ago
|
![display value](https://github.com/nocodb/nocodb/assets/86527202/f3773b9b-cd0e-411c-843f-9e37796a6600)
|
||
|
|
||
|
#### Example : 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](https://github.com/nocodb/nocodb/assets/86527202/69eb206f-3796-4587-97cd-0c389053a20a)
|
||
3 years ago
|
|
||
2 years ago
|
|
||
2 years ago
|
## How to set Display Value ?
|
||
2 years ago
|
|
||
1 year ago
|
Click down arrow in the target column. Click `Set as Display Value`.
|
||
|
|
||
|
![display value set](https://github.com/nocodb/nocodb/assets/86527202/d5f09946-5654-46fe-8ecb-107fc9714219)
|
||
2 years ago
|
|
||
3 years ago
|
|
||
|
|
||
1 year ago
|
## How is Display Value identified for existing database tables ?
|
||
2 years ago
|
|
||
1 year ago
|
- 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.
|
||
3 years ago
|
|
||
2 years ago
|
## Can I change the Display Value to another column within tables ?
|
||
2 years ago
|
|
||
2 years ago
|
- Yes, you can use the same way mentioned above to set Display Value.
|