top menu gradient

Repeat components

Using the Repeater properties, # Of Items and Based On Spreadsheet, you can specify how many times a component must be repeated on the page and define the range associated with this repeated component.

Using the "Based On Spreadsheet" property

The Based On Spreadsheet property lets you repeat a component by binding this property to a vertical or horizontal range.

To bind the property to a range, first bind it to a cell, and then either:

  • Select the AUTO and down direction to use all the cells going down until a blank cell is found (vertical range).
  • Select the AUTO and right direction to use all the cells going right until a blank cell is found (horizontal range).

The range length, or the number of consecutive non-empty cells in the range, will determine how many times the component is repeated.

The range to which you bind the Based On Spreadsheet property plays an important role for the repeated component. Also known as a bound range, this range will affect the binding of other properties: Each time you bind a property to the spreadsheet, the repeated components use the direction (vertical or horizontal) and length of the bound range to determine where to take their values from. For more details, see here.

The following shows a detailed example of how to repeat a component using the Based On Spreadsheet property:

  1. In the spreadsheet, in an empty cell, enter "bound," and then enter "vertical" in the 2 cells under the "bound" cell. Enter "horizontal" in the 2 cells to the right of the "bound" cell.

  2. On the Repeater tab, hover over the blue dot to the left of Based On Spreadsheet, and then click that appears.

    Select the "bound" cell.

  3. Select a range:

    • To use a vertical range, click . The range includes all the cells below the "bound" cell until a blank cell.
    • To use a horizontal range, click , and then click . The range includes all the cells to the right of the "bound" cell until a blank cell.

    Three components are now displayed on the page, which corresponds to the number of non-empty consecutive cells in the range.

    Note that the cell values do not affect the text in the repeated components: When you bind the Based On Spreadsheet property to the spreadsheet, non-empty cells in the selected range are used only to set the number of repeated components, the values in the cells are ignored.

  4. Click to hide the Repeater tab, and then bind the text property to the same "bound" cell.

    The text in the three repeated components now corresponds to the values in the range defined in the previous step.

Try it now

Using the "# of Items" property

When you use the # of Items property:

  • The number of repeated components is fixed.
  • The range associated with the repeated components is always vertical.

Here is an example of how to repeat components using the # Of Items property:

  1. Select a text component on the page, and then, on the Text Properties panel, click the Repeater button.
  2. On the Repeater tab that appears, set # Of Items value to 3. Three components are now displayed on the page.
  3. To increase the gap between the repeated components, adjust the slider above Gap as needed, or simply enter a value in the field above the slider.

Try it now

Contents