code: <<ColumnTable '[tag[Column Data]]'>>
| Column Data Thing | Column Data Thing 1 | Column Data Thing 2 | |
|---|---|---|---|
code: <<RowTable '[tag[Column Data]]'>>
| Column Data Thing | ||||||
|---|---|---|---|---|---|---|
| Column Data Thing 1 | ||||||
| Column Data Thing 2 |
When you do this the difference between ColumnTable and RowTable is if column headers are tiddlers with the rows stored in the fields of the tiddlers or if the row headers are tiddlers with the columns stored in fields. This is important because field names have more restrictions that tiddler titles.
code: <<ColumnTable '[tag[Column Data]]' 'first second fifth'>>
| Column Data Thing | Column Data Thing 1 | Column Data Thing 2 | |
|---|---|---|---|
code: <<RowTable '[tag[Column Data]]' 'third second fifth'>>
| Column Data Thing | |||
|---|---|---|---|
| Column Data Thing 1 | |||
| Column Data Thing 2 |
Note that for both of them the rows and columns don't have to be existing fields or tiddlers, you can create a table that doesn't use existing tiddlers and when you edit the values for each cell the tiddler is created.
code: <<ColumnTable """[[This Tiddler]][[Does not Exist]]""" "[[these_ones]][[must_be]][[valid]][[field_names]]">>
| Does not Exist | This Tiddler | |
|---|---|---|