@ -0,0 +1,47 @@ |
|||||||
|
--- |
||||||
|
title: 'Single Select' |
||||||
|
--- |
||||||
|
import Tabs from '@theme/Tabs'; |
||||||
|
import TabItem from '@theme/TabItem'; |
||||||
|
|
||||||
|
`Single select` fields allow you to select a single option from a list of options. The options can be defined in the field configuration. |
||||||
|
|
||||||
|
## Create field |
||||||
|
1. Click on `+` icon to the right of `Fields header` |
||||||
|
2. [**Optional**] On the dropdown modal, enter the field name. |
||||||
|
3. Select the field type as `SingleSelect` from the dropdown. |
||||||
|
4. Click on `Add option` button to add options. |
||||||
|
5. [**Optional**] Set default value for the field. The options are populated in the dropdown. |
||||||
|
6. Click on `Save Column` button. |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select.png) |
||||||
|
|
||||||
|
## Edit options |
||||||
|
|
||||||
|
### Rename options |
||||||
|
You can rename options by clicking on the associated option text box. Click on `Save Column` button to save the changes. |
||||||
|
|
||||||
|
### Re-configure color for options |
||||||
|
You can re-configure background color for each option. This is useful when you want to highlight certain options. For example, you can configure `High` option to have `red` background color. |
||||||
|
To configure, click on the `color` icon next to the option. Select the color from the color picker and click on `Save Column` button. |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select-color.png) |
||||||
|
|
||||||
|
### Re-order options |
||||||
|
You can re-order options by dragging and dropping the options. To re-order, click on the `drag` icon next to the option and drag it to the desired position. Click on `Save Column` button to save the order. |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select-reorder.png) |
||||||
|
|
||||||
|
:::info |
||||||
|
The order defined for the options will be used in cells dropdown as well. |
||||||
|
::: |
||||||
|
|
||||||
|
### Delete options |
||||||
|
You can delete options by clicking on the `x` icon next to the option. You can undo the delete by clicking on the `undo` icon next to the option. Click on `Save Column` button to save the changes. |
||||||
|
|
||||||
|
:::info |
||||||
|
- On removing an option, the option value will be removed from all the cells. |
||||||
|
- If the option value is set as default value for the field, then the default value will be removed. |
||||||
|
::: |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select-delete.png) |
@ -0,0 +1,47 @@ |
|||||||
|
--- |
||||||
|
title: 'Multi Select' |
||||||
|
--- |
||||||
|
import Tabs from '@theme/Tabs'; |
||||||
|
import TabItem from '@theme/TabItem'; |
||||||
|
|
||||||
|
`Multi Select` fields allow you to select multiple options from a list of options. The options can be defined in the field configuration. |
||||||
|
|
||||||
|
## Create field |
||||||
|
1. Click on `+` icon to the right of `Fields header` |
||||||
|
2. [**Optional**] On the dropdown modal, enter the field name. |
||||||
|
3. Select the field type as `MultiSelect` from the dropdown. |
||||||
|
4. Click on `Add option` button to add options. |
||||||
|
5. [**Optional**] Set default value for the field. The options are populated in the dropdown. Since its multi select, you can select multiple options as default value. |
||||||
|
6. Click on `Save Column` button. |
||||||
|
|
||||||
|
![image](/img/v2/fields/multi-select.png) |
||||||
|
|
||||||
|
|
||||||
|
### Configure color for options |
||||||
|
You can re-configure background color for each option. This is useful when you want to highlight certain options. For example, you can configure `High` option to have `red` background color. |
||||||
|
To configure, click on the `color` icon next to the option. Select the color from the color picker and click on `Save Column` button. |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select-color.png) |
||||||
|
|
||||||
|
### Re-order options |
||||||
|
You can re-order options by dragging and dropping the options. To re-order, click on the `drag` icon next to the option and drag it to the desired position. Click on `Save Column` button to save the order. |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select-reorder.png) |
||||||
|
|
||||||
|
:::info |
||||||
|
The order defined for the options will be used in cells dropdown as well. |
||||||
|
::: |
||||||
|
|
||||||
|
### Edit options |
||||||
|
You can rename options by clicking on the associated option text box. Click on `Save Column` button to save the changes. |
||||||
|
|
||||||
|
### Delete options |
||||||
|
You can delete options by clicking on the `x` icon next to the option. You can undo the delete by clicking on the `undo` icon next to the option. Click on `Save Column` button to save the changes. |
||||||
|
|
||||||
|
:::info |
||||||
|
- On removing an option, the option value will be removed from all the cells. |
||||||
|
- If the option value is set as default value for the field, then the default value will be removed. |
||||||
|
::: |
||||||
|
|
||||||
|
![image](/img/v2/fields/single-select-delete.png) |
||||||
|
|
@ -1,5 +0,0 @@ |
|||||||
--- |
|
||||||
title: 'Single Select' |
|
||||||
--- |
|
||||||
import Tabs from '@theme/Tabs'; |
|
||||||
import TabItem from '@theme/TabItem'; |
|
@ -1,5 +0,0 @@ |
|||||||
--- |
|
||||||
title: 'Multi Select' |
|
||||||
--- |
|
||||||
import Tabs from '@theme/Tabs'; |
|
||||||
import TabItem from '@theme/TabItem'; |
|
@ -0,0 +1,34 @@ |
|||||||
|
--- |
||||||
|
title: 'Links' |
||||||
|
--- |
||||||
|
import Tabs from '@theme/Tabs'; |
||||||
|
import TabItem from '@theme/TabItem'; |
||||||
|
|
||||||
|
`Links` field type is used to establish relationship between tables & create links to other records. |
||||||
|
NocoDB supports following types of relations: |
||||||
|
- `Has-Many` - A record in one table can have multiple records in another table. |
||||||
|
- Example: A `Country` can have multiple `Cities`. |
||||||
|
- `Belongs-to` - Multiple records in one table can have a single record in another table. |
||||||
|
- Example: A `City` `Belongs-to` a `Country`. |
||||||
|
- `Many-to-Many` - Multiple records in one table can have multiple records in another table. |
||||||
|
- Example: A `Student` can have multiple `Subjects` & a `Subject` can have multiple `Students`. |
||||||
|
|
||||||
|
:::note |
||||||
|
- Links can be created only between tables in the same database. |
||||||
|
- Self-referencing links are supported. (Link to the same table) |
||||||
|
- For every `Has-Many` relation defined, NocoDB augments `Belongs-to` relationship column in the adjacent table automatically |
||||||
|
::: |
||||||
|
|
||||||
|
## Create field |
||||||
|
1. Click on `+` icon to the right of `Fields header` |
||||||
|
2. [**Optional**] On the dropdown modal, enter the field name. |
||||||
|
3. Select the field type as `Links` from the dropdown. |
||||||
|
4. Select the relation type : Either `Has-Many` or `Many-to-Many`. |
||||||
|
5. Select the table to which the relation is to be established. |
||||||
|
6. [**Optional**] Configure label to be used for display in the cell. |
||||||
|
7. Click on `Save Column` button. |
||||||
|
|
||||||
|
![image](/img/v2/fields/links.png) |
||||||
|
|
||||||
|
### Cell display |
||||||
|
The cell will display number of links for a record to the related table. Clicking on the link-text will open a `Linked Records` modal with the list of links & associated additional information. |
@ -0,0 +1,7 @@ |
|||||||
|
--- |
||||||
|
title: 'LookUp' |
||||||
|
--- |
||||||
|
import Tabs from '@theme/Tabs'; |
||||||
|
import TabItem from '@theme/TabItem'; |
||||||
|
|
||||||
|
![image](/img/v2/fields/lookup.png) |
@ -0,0 +1,7 @@ |
|||||||
|
--- |
||||||
|
title: 'Rollup' |
||||||
|
--- |
||||||
|
import Tabs from '@theme/Tabs'; |
||||||
|
import TabItem from '@theme/TabItem'; |
||||||
|
|
||||||
|
![image](/img/v2/fields/rollup.png) |
@ -1,5 +0,0 @@ |
|||||||
--- |
|
||||||
title: 'Links' |
|
||||||
--- |
|
||||||
import Tabs from '@theme/Tabs'; |
|
||||||
import TabItem from '@theme/TabItem'; |
|
@ -1,5 +0,0 @@ |
|||||||
--- |
|
||||||
title: 'LookUp' |
|
||||||
--- |
|
||||||
import Tabs from '@theme/Tabs'; |
|
||||||
import TabItem from '@theme/TabItem'; |
|
@ -1,5 +0,0 @@ |
|||||||
--- |
|
||||||
title: 'Rollup' |
|
||||||
--- |
|
||||||
import Tabs from '@theme/Tabs'; |
|
||||||
import TabItem from '@theme/TabItem'; |
|
After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 76 KiB |
After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 53 KiB |
After Width: | Height: | Size: 57 KiB |
After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 49 KiB |
After Width: | Height: | Size: 30 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 63 KiB |
After Width: | Height: | Size: 51 KiB |