The repeatheader
tag lets you specify when to repeat table headings, ensuring they remain visible even when scrolling causes the top headers to be hidden.
Details
- The
repeatheader
tag can be used with either regular tables (questions as rows) or vscale tables (questions as columns). - To repeat headers every X number of rows, simply specify the number of rows — e.g.,
repeatheader: 5
. - To divide the rows into a set number of sections (e.g., thirds), include a '/' before the number. For example,
repeatheader: /3
will divide the table into three sections, each with its own headers. -
repeatheader
also allows you to place headers at the 'middle', 'end', or both ('middle, end'). - To specify where to repeat the header in relation to the list's collection headers, use the 'before_header' or 'after_header' inputs.
Additional examples
Divide table into thirds, evenly distribute headers
To split the table's rows up as evenly as possible, e.g., into thirds, apply repeatheader: /3
.
Using a combination of repeating header inputs
Combine multiple instructions by separating them with commas. In this case, we have specified to display headers every 1/3 of the table and to include a final set at the end.
Before list headers
When a table references a list with collection headers, including repeatheader: before_header
will specify that the table headers are displayed before every instance of a list header row.
With vertical tables
In vertical scale (vscale) tables, since the answer options are the rows and the columns are the questions, the list of options can be lengthy. Adding the repeatheader
tag to this table format can repeat the column text like headers.
Comments
0 comments
Please sign in to leave a comment.