多维表格
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.

95 lines
2.9 KiB

---
title: 'Actions on field'
description: 'This article explains how to perform various actions on a field- like rename, change field type, default, field width, record height, show/hide.'
tags: ['Fields', 'Rename', 'Delete', 'Duplicate', 'Hide', 'Display value', 'Sort', 'Record Height', 'Field Width']
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 `Field Name` field.
4. Click on `Save Field` button.
![Rename field](/img/v2/fields/fields-edit-2.png)
#### Change field type
1. Open the field context menu
2. Click on `Edit` option.
3. Select new field type from the `Field Type` dropdown.
4. Click on `Save Field` button.
![Change field type](/img/v2/fields/fields-edit-3.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 Field` button.
![Change default value](/img/v2/fields/fields-edit-4.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.