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

7.5 KiB

title description position category menuTitle
Table Operations Table Operations 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 the plus button next to Table menu
  • Click Add / Import, then click Add new table
image

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

table_create_modal

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

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

table_created

Table Rename

Right click on Table name on left hand project-tree menu, select Rename In modal popup, enter new table name and click Submit button

Table Delete

The table can be deleted using the delete icon present in the toolbar within the table tab.

image

Column

Column Add

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

Pasted_Image_23_07_21__4_39_PM

After the click, it will show a menu and you can enter the column name and choose the column type (Abstract type).
Click Savebutton to create the new column.

image

& we have new column created as part of our table
Pasted_Image_23_07_21__4_43_PM

For more about Abstract type click here.

Column Edit

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

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

Column Delete

Column deletion can be done by using the delete option from the column header menu.

Pasted_Image_23_07_21__6_49_PM

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.
  • Now it will open a modal Form to enter the values, provide the values and press the save button.
  • 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 which contains + icon at the beginning.
  • Now it will add a new row in the table

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.

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 clicking Add / Import and choosing the corresponding options.

image

Import Airtable into an existing project

Import CSV data into an existing project

  • Click Add / Import and click CSV file
  • Drag & drop or select file to upload or specify Excel file URL image
  • You can revise the table name, column name and column type. By default, the first column will be chosen as Primary Value and cannot be deleted. image
  • Click Import CSV to start importing process. The table will be created and the data will be imported. image

Import Excel data into an existing project

  • Click Add / Import and click Microsoft Excel

  • Drag & drop or select file to upload or specify Excel file URL image

  • You can revise the table name, column name and column type. By default, the first column will be chosen as Primary 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 Excel 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 More and Download as CSV.

image

Import Data

You can import your data in CSV format to a table by clicking More and Upload CSV.

image