Add column from list
Add a column at the start, the end or a zero-based position, filled with the items of a list row by row; a longer list adds rows.
Command in the Data Table toolkit · id ooa.datatable/add_column_from_list · 4 inputs (3 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Table | Table | Yes | Table to add the column to. | |
| List | List | Yes | Items for the new column: the first item goes in the first row, and so on. Rows beyond the list stay empty. | |
| Name | String | Yes | New column name. | |
| Position | Number | No | Zero-based column position (0 = first); at the end when empty. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Updated table. |