Files
nocodb/packages/noco-docs/docs/070.fields/030.display-value.md
2023-10-10 11:13:20 +05:30

1.8 KiB

title, description, tags, keywords
title description tags keywords
Display value This article explains how to set display value for a table & its use.
Fields
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 record of a table, and it is typically the attribute by which we identify or associate that specific record. While it is advisable for the display value to be linked to a field 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 record we are working with.
  • 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

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

Set Display Value

Click dropdown icon (🔽) in the target field. Click Set as Display Value.

display value set

:::info How is Display Value identified for existing database tables ?

  • It is usually the first field after the primary key which is not a number.
  • If there is no field which is not a number then the field adjacent to primary key is chosen.

Can I change the Display Value to another field within tables ?

  • Yes, you can use the same way mentioned above to set Display Value. :::