From 2cf5eb5219bc013e810b1c326aa2f02357394878 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 16 Feb 2023 18:30:12 +0800 Subject: [PATCH] docs: rename to display-value --- .../{primary-value.md => display-value.md} | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) rename packages/noco-docs/content/en/setup-and-usages/{primary-value.md => display-value.md} (51%) diff --git a/packages/noco-docs/content/en/setup-and-usages/primary-value.md b/packages/noco-docs/content/en/setup-and-usages/display-value.md similarity index 51% rename from packages/noco-docs/content/en/setup-and-usages/primary-value.md rename to packages/noco-docs/content/en/setup-and-usages/display-value.md index bd297bf2b4..9ea19a61ce 100644 --- a/packages/noco-docs/content/en/setup-and-usages/primary-value.md +++ b/packages/noco-docs/content/en/setup-and-usages/display-value.md @@ -1,40 +1,41 @@ --- -title: "Primary Value" -description: "Understanding Primary Value in NocoDB!" +title: "Display Value" +description: "Understanding Display Value in NocoDB!" position: 580 category: "Product" -menuTitle: "Primary Value" +menuTitle: "Display Value" --- -## What is a Primary Value ? -- Primary value as the name stands is the primary or main value within a row of a table that you generally associate that row with. +## 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. - It should be usually associated with a column which is uniquely identifiable. However, this uniqueness is not enforced at the database level. -## What is the use of Primary Value ? -- Within a spreadsheet, primary value are always highlighted so that it is easier to recognise what row we are in. -- And when LinkToAnotherRecord is created between two tables - it is the primary value that appears in LinkToAnotheRecord column. +## 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. +- And when LinkToAnotherRecord is created between two tables - it is the Display Value that appears in LinkToAnotheRecord column. -#### Example : Primary Value highlighted in Actor table +#### Example : Display Value highlighted in Actor table image -#### Example : Primary Value highlighted in Film table +#### Example : Display Value highlighted in Film table image -#### Example : Primary Value associated when LinkToAnotherRecord is created +#### Example : Display Value associated when LinkToAnotherRecord is created image -## How to set Primary Value ? +## How to set Display Value ? -Click down arrow in the target column. Click `Set as Primary Value`. +Click down arrow in the target column. Click `Set as Display Value`. -image +![image](https://user-images.githubusercontent.com/35857179/219339727-dee5fdea-6db7-4a06-9e48-df7113cc63b1.png) -## How is Primary Value identfied for existing database tables ? +## How is Display Value identfied 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 Primary Value to another column within tables ? +## Can I change the Display Value to another column within tables ? -- Yes, you can use the same way mentioned above to set Primary Value. +- Yes, you can use the same way mentioned above to set Display Value.