Skip to content

Commit

Permalink
Update README to explain dynamic columns feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhbw committed Apr 1, 2024
1 parent 3bfdb47 commit 1ded56d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,22 @@ Since JavaScript expressions are supported, you can for example filter the loop
----------------------------------------------------------
```

And let you dynamically generate columns:

```
+-------------------------------+--------------------+------------------------+
| +++ FOR row IN rows+++ | | |
+===============================+====================+========================+
| +++ FOR column IN columns +++ | +++INS $row+++ | +++ END-FOR column +++ |
| | | |
| | Some cell content | |
| | | |
| | +++INS $column+++ | |
+-------------------------------+--------------------+------------------------+
| +++ END-FOR row+++ | | |
+-------------------------------+--------------------+------------------------+
```

Finally, you can nest loops (this example assumes a different data set):

```
Expand Down

0 comments on commit 1ded56d

Please sign in to comment.