Gallery
AddRow
Share
Explore

icon picker
AddRow

Formula: AddRow()
Category: Action
add-row (1).svg
AddRow()
Adds a row to a table
or stated otherwise...
Hey Coda, add a row to this table, and here are the values I want in each column.

AddRow() has three parameters. Column and ColumnValue can be repeated for each column in the table:
select-table (1).svg
Table

AddRow(Table, Column, ColumnValue)

The table to add a row to.
select-column.svg
Column

AddRow(Table, Column, ColumnValue)

The column you want to add values to.
add-column.svg
ColumnValue

AddRow(Table, Column, ColumnValue)

The values to add to the column.


Tables are the core building block of Coda and your tables are nothing without rows! AddRow() is without a doubt the action that you will use most commonly in your docs.

Adding Rows To Tables

Adding rows to a table is one of the two common ways to to use the AddRow() action. There are many ways to do it and no way is necessarily better than another. Try out the buttons below, notice how they perform slightly different actions, and then look into their configurations to see what they are doing.
Add a Row
New row with todays date
New row with date and auto-assign
5 new rows with date and auto-assign
Task
Date
Assignee
Priority
View the project
1
Eat some soup
10/27/2022
Scott Weir
0
2
View tasks in project
There are no rows in this table

Adding Rows From One Table To Another Table

The other most common situation in which you will use the AddRow() action is to add a row from one table to another related table. This is honestly where some of the secret sauce of Coda comes in, so follow along closely, click around with the buttons, view formulas, and more!
Before doing anything - Press the white
button in any of the rows below and then notice how each projects tasks are housed inside the project itself
View
Project
Assignees
Add Task
Task Count
1
Annual Marketing Plan
Scott Weir
ML
New task for: Marketing Plan
1
2
Product Launch
Scott Weir
Stuart Weir
New task for: Product Launch
0
3
Project: Spruce up the Emails
Scott Weir
ML
New task for: Emails
0
There are no rows in this table

Done
Automatically add tasks to projects with a button
Done
Build a travel application
Done

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.