Repeating objects for list data
The Repeater draws an object once for every row of a list dataset. Design a single row — usually a group with a position, a name and a score — and the repeater lays out as many copies as the data has rows.
Setting it up
- Design one row. If the row has several parts, put them in a group.
- Bind the parts to fields of a list schema (for example
standings.teamandstandings.points). - Select the object or group, open the Data tab and tick Enable repeater under Repeater.
- Pick a list dataset under Data Preview to see the copies on the design area.
The repeater uses the list the object (or, for a group, its children) is bound to. Without list data, the object is drawn once.
Options
- Layout — Vertical (rows stacked downwards), Horizontal (side by side) or Grid.
- Spacing (px) — the gap between copies.
- Columns — the number of columns, for Grid only.
- Max items (0 = all) — the maximum number of copies. 0 shows every row.
- Start index — the first row to show, counted from 0. Combine with Max items to split a long list over two graphics, for example rows 0–9 and 10–19.
- Stagger delay (frames) — a delay, in frames, between consecutive copies when they animate, so rows can come in one after another.
Tips
- Size the original object or group exactly as one row should be — copies are placed one object height (or width) plus the spacing apart.
- Step through different preview datasets to check how the layout looks with few and many rows.
- On the timeline, the stagger makes the animation longer; the editor includes it when a preview dataset is selected.