Professional > Interview scripting > Writing interview scripts > Page layout facilities > Styles > Grids > Repeating header cells
 
Repeating header cells
You can make large grids easier to use by repeating the header cells periodically throughout the grid.
To repeat the column heading row
Type:
Gridname.Style.Cell.RepeatHeader = number
where:
Gridname is the name of the loop item.
number is the number of rows you want to display between each repetition of the column headings. Use 0 to display the column headings at the top and bottom of the grid, or –2 to display the headings centrally within the height of the grid (that is, with an even number of rows above and below it). To repeat the headings and display them at the bottom of the grid, use a negative number greater than –2 (for example –4 repeats the headings every four rows and displays them at the bottom of the grid).
For example:
TeaLoop.Style.Cell.RepeatHeader = 3
To repeat the column of row headings
Type:
Gridname.Style.Cell.RepeatSideHeader = number
where:
Gridname is the name of the loop item.
number is the number of columns you want to display between each repetition of the row headings. Use 0 to display the row headings on the left and right of the grid, or –2 to display the headings centrally within the width of the grid (that is, with an even number of columns to the left and right of it). To repeat the headings and display them on the right of the grid, use a negative number greater than –2 (for example –4 repeats the headings every four columns and displays them on the right of the grid).
For example:
TeaLoop.Style.Cell.RepeatSideHeader = 3
See also
Grids