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

10 KiB

title description position category menuTitle
Table Operations Table Operations: Row, Column, Quick Import, Export & Import 510 Product Table Operations

Once you have created a new NocoDB project you can open it, In the browser, the URL would be like example.com/dashboard/#/nc/<project_id>.

Table

Table Create

Now you can start creating new tables by simply clicking one of the following options.

  • Click Add new table button
  • Hover Add new table button in table menu, click three dots, use Quick Import to create
  • Drag and drop CSV, JSON or Excel file to import
image

A modal will be popped up. Input the corresponding info and enable or disable default columns and click Submit button.

image

Click Show more for advanced settings.

Note: You can't disable the `id` column since NocoDB needs a primary column for every table. You can rename it after the creation. image

After the successful submission, the table will be created and open as a new tab.

image

Table Rename

Right click on Table name on left hand project-tree menu, select Rename

image

In modal popup, enter new table name and click Submit button

image

Table Delete

Right click on Table name on left hand project-tree menu, select Delete

image

Click Yes to confirm the table deletion

image

Column

Column Add

Click the + icon on the right corner of the table.

image

After the click, it will show a menu and you can enter the column name and choose the column type. (See Column Types for the full list).

image

You can also click Show more for additional menu options.

image

Click Save button to create the new column.

image

Column Edit

To edit column properties, click the down arrow, select Edit from the menu.

image

You will be able to edit column name & associated datatype using pop-up modal. You can also click Show more for additional menu options.

image

Column Delete

To delete a column, click the down arrow, select Delete from the menu.

image

Click Yes to confirm the column deletion.

image

Row

For adding new values to the table we need new rows, new rows can be added in two methods.

Row Add (Using Form)

  • Click the + icon in the toolbar of the table tab.
    image
  • Then you can enter the values and click Save row.
    image
  • After saving it will be there on your table.
    image

Row Add (Using Table Row at bottom of page)

  • Click the bottom row of the table + Add new row. image
  • A new empty row will be created image

Row Add (Pressing Enter Key from Previous Row)

When you finish editing a cell and press Enter, the cell in the next row with the same column will be highlighted.

image

Row Edit

You can start editing by any of the following methods

  • Double click on cell to edit
  • Click on cell and start typing (this way it will clear the previous content)
  • Click on cell and press enter to start editing
  • And it will automatically save on blur event or if inactive.

Row Delete

Right-click on anywhere in the row and then from the context menu select Delete Row option.

Bulk delete is also possible by selecting multiple rows by using the checkbox in first column and then Delete Selected Rows options from the right click context menu.

image

Quick Import

You can use Quick Import when you have data from external sources such as Airtable, CSV file or Microsoft Excel to an existing project by either

  • Hover Add new table button in table menu, click three dots, use Quick Import to create
  • Drag and drop CSV, JSON or Excel file to import
image

Import Airtable into an Existing Project

Import CSV data into an Existing Project

  • Hover Add new table button in table menu, click three dots, and click CSV file
  • Drag & drop or select files (at most 5 files) to upload or specify CSV file URL, and Click Import
    • Auto-Select Field Types: If it is checked, column types will be detected. Otherwise, it will default to SingleLineText.
    • Use First Row as Headers: If it is checked, the first row will be treated as header row.
    • Import Data: If it is checked, all data will be imported. Otherwise, only table will be created. image
  • You can revise the table name by double clicking it, column name and column type. By default, the first column will be chosen as Display Value and cannot be deleted. image
  • Click Import to start importing process. The table will be created and the data will be imported. image

Import Excel data into an Existing Project

  • Hover Add new table button in table menu, click three dots, and click Microsoft Excel

  • Drag & drop or select file (at most 1 file) to upload or specify Excel file URL and Click Import.

    • Auto-Select Field Types: If it is checked, column types will be detected. Otherwise, it will default to SingleLineText.
    • Use First Row as Headers: If it is checked, the first row will be treated as header row.
    • Import Data: If it is checked, all data will be imported. Otherwise, only table will be created. image
  • You can revise the table name, column name and column type. By default, the first column will be chosen as Display Value and cannot be deleted. Note: If your Excel file contains multiple sheets, each sheet will be stored in a separate table.

    image
  • Click Import to start importing process. The table(s) will be created and the data will be imported to the corresponding table(s). image

Export Data

You can export your data from a table as a CSV file by clicking the down arrow next to Table name and hover on Download. Currently only CSV and XLSX formats are supported for export.

image

Import Data

You can import your data in CSV format to a table by clicking the down arrow next to Table name and hover on Upload. Currently only CSV format is supported for upload.

image