|
|
|
---
|
|
|
|
title: 'Actions on field'
|
|
|
|
tags: ['Fields', 'Rename', 'Delete', 'Duplicate', 'Hide', 'Display value', 'Sort']
|
|
|
|
keywords : ['NocoDB fields', 'fields overview', 'field administration', 'field organization']
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
## Fields context menu
|
|
|
|
Fields context menu can be accessed by clicking on the dropdown icon (🔽) next to the field name.
|
|
|
|
![Fields context menu](/img/v2/fields/fields-context-menu.png)
|
|
|
|
|
|
|
|
### Edit
|
|
|
|
#### Rename field
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Edit` option.
|
|
|
|
3. Enter new field name as required in the `Column Name` field.
|
|
|
|
4. Click on `Save Column` button.
|
|
|
|
|
|
|
|
![Rename field](/img/v2/fields/fields-edit.png)
|
|
|
|
|
|
|
|
#### Change field type
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Edit` option.
|
|
|
|
3. Select new field type from the `Column Type` dropdown.
|
|
|
|
4. Click on `Save Column` button.
|
|
|
|
|
|
|
|
![Change field type](/img/v2/fields/fields-type-edit.png)
|
|
|
|
|
|
|
|
#### Change default value
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Edit` option.
|
|
|
|
3. Enter new default value in the `Default Value` field. To disable, click on `x` icon.
|
|
|
|
4. Click on `Save Column` button.
|
|
|
|
|
|
|
|
![Change default value](/img/v2/fields/fields-default-value-edit.png)
|
|
|
|
|
|
|
|
### Change field width
|
|
|
|
To adjust the width of the field, hover over the field edge and drag to adjust the width.
|
|
|
|
|
|
|
|
![Change field width](/img/v2/fields/fields-width.png)
|
|
|
|
|
|
|
|
### Hide field
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Hide Field` option
|
|
|
|
|
|
|
|
:::note
|
|
|
|
- Hidden fields are not visible in the table view, but will still be accessible for Formulas, Sort, Filter, etc.
|
|
|
|
- To un hide a field, use `Toolbar > Fields` menu
|
|
|
|
- Fields can also be marked as hidden from `Toolbar > Fields` menu
|
|
|
|
:::
|
|
|
|
|
|
|
|
### Set as Display value
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Set as Display Value` option.
|
|
|
|
|
|
|
|
Refer to [Display Value](/fields/display-value) for more details.
|
|
|
|
|
|
|
|
### Sort Ascending
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Sort Ascending` option.
|
|
|
|
|
|
|
|
### Sort Descending
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Sort Descending` option.
|
|
|
|
|
|
|
|
### Duplicate field
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Duplicate` option.
|
|
|
|
|
|
|
|
Duplicated field sans the data will be created with suffix `_copy` in its name & will be placed to the right of the original field.
|
|
|
|
|
|
|
|
### Insert after a field
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Insert after` option.
|
|
|
|
|
|
|
|
New field will be created to the right of the original field.
|
|
|
|
|
|
|
|
### Insert before a field
|
|
|
|
1. Open the field context menu
|
|
|
|
2. Click on `Insert before` option.
|
|
|
|
|
|
|
|
New field will be created to the left of the original field.
|
|
|
|
|
|
|
|
### Delete field
|
|
|
|
:::danger
|
|
|
|
**This action cannot be undone.**
|
|
|
|
:::
|
|
|
|
|
|
|
|
To delete a field, follow the steps below:
|
|
|
|
1. Open the field context menu by clicking on dropdown icon (🔽) .
|
|
|
|
2. Click on **Delete**.
|
|
|
|
3. Confirm the deletion by clicking on **Delete Field** on the confirmation modal.
|
|
|
|
|