Build a dynamic table
If you want to display the output of a Loop as a table you can use the Dynamic Table builder.
The table loop will read all the records in the iSheet from top to bottom and dynamically build a table row for each iSheet record it encounters. To build a dynamic table, click on
Dynamic Table
.
Select
Add
in the right-hand panel. The
Dynamic Table
builder window opens.
Enter a name for the dynamic table. In the iSheet view dropdown, choose the view that you want the table to loop through.
Conditions applied to the dynamic table
You can also place
conditionals inside loops so you take only the iSheet data that meet your conditional rules.
The rules in the Condition need to lookup column data from the same iSheet View as the one the dynamic table is looping through. The dynamic table builder will only show these applicable Conditions.
Choose an iSheet View and the Conditions drop-down will update to show all the Conditions that are applicable.
To see the rules in an existing
Condition
, click the
More Actions
icon and choose
View condition
.
To build new
Conditions
to use with a dynamic table, click the
More Actions
icon and choose
Add new condition
.
Click on the
Columns
tab inside the
Dynamic Table
builder. Insert a column for each iSheet column that will provide data.
Give the
Column
a title and choose one or more values for that table column. The values can be static text or a variable from the iSheet view you are looping through.
Conditions applied to values in the columns of the dynamic table
You can place conditionals on column values. Choose a condition from the
Conditions
drop-down.
To see the rules in an existing Condition, click the
More Actions
icon and choose
View condition
.
To build a new Condition, click the
More Actions
icon and choose
Add new condition
.
Select
Add
to add the dynamic table to the right-hand panel.
In the template, place the cursor where you want to insert the table. Double-click on the dynamic table in the right-hand panel. When it has been inserted it will look like the below image:
You can hide the table header by selecting
Hide table header
at the bottom of the dynamic table builder, under the columns tab:
Editing and removing dynamic tables
Select
More Actions
next to each dynamic table in the right-hand panel. You can
Edit
or
Remove
the dynamic table.
If you edit the dynamic table and then click on
Update
, all instances of the dynamic table, already used in the template, will automatically update.