Back to Notesnook

Tables

docs/help/contents/rich-text-editor/tables.md

3.4.10-android5.0 KB
Original Source

Tables

Tables in Notesnook provide all the basic to advanced functionality. On the left side are the {{rowProperties}} and {{insertRowBelow}} buttons while on top of the table are {{tableSettings}} and {{insertColumnRight}} buttons.

The first row of a newly created table is always a header. You can always delete this row if you do not like the header row formatting.

Insert a table

  1. Click the and select the table block.
  2. Select the size of the table grid.

Resizing table columns

Table columns are resizable on all platforms.

  1. Hover on the separator between two columns, it will turn green
  2. Click and hold separator to resize the column.

Insert a row

  1. Click a cell below which you want to insert a new row.
  2. Click the {{insertRowBelow}} button to insert a new row.

Delete a row

  1. Click a cell of the row you want to delete
  2. Click the row properties button and select {{deleteRow}}

Move row

  1. Click a cell of the row you want to move.
  2. Click the row properties button and select {{moveRowUp}} to move the row up or {{moveRowDown}} to move the row down.

Insert a column

  1. Click a cell in a column after which you want to insert a new column.
  2. Click the {{insertColumnRight}} button to insert a new column.

Delete a column

  1. Click a cell of the column you want to delete
  2. Click the column properties button and select {{deleteColumn}}

Move column

  1. Click a cell of the column you move.
  2. Click the column properties button on top and select {{moveColumnRight}} to move the column right or {{moveColumnLeft}} to move the column left.

Merge cells

  1. Drag and select the cells you want to merge
  2. Click table properties on top of table and select {{mergeCells}}

Split cells

  1. Double click to select the cell you want to split
  2. Click table properties on top of table and select {{splitCells}}

Cell Properties

  1. Select the cell you want to customize
  2. Click the table properties button on top
  3. Select Cell properties
  4. You can now change cell background, text color and border color.

Import CSV <PlanTag plan="pro" />

{{importCsv}} turns a .csv file into a new table at the cursor, so you don't have to retype spreadsheet data. The first row of the file becomes the table's header row.

  1. Focus inside the note where you want the table.
  2. Click the button and open {{table}}.
  3. Click {{importCsv}} and pick a .csv file.

The table is inserted with one row per line and one column per field.

<!-- TODO: screenshot — the Import CSV item in the toolbar's Table insert menu -->

Importing a CSV into a table requires a Pro plan. See Plans & limits.

Export CSV <PlanTag plan="pro" />

{{exportCsv}} writes out the table you are in — and only that table — as a .csv file you can open in a spreadsheet.

  1. Click a cell in the table.
  2. Click the {{tableSettings}} button on top of the table.
  3. Click {{exportCsv}}.

The file is saved as table.csv.

<!-- TODO: screenshot — the Export CSV item in the table settings menu -->

Exporting a table as CSV requires a Pro plan. See Plans & limits.

Delete table

  1. Select the table
  2. Click table properties button on top.
  3. Select {{deleteTable}} from drop down menu