hub.eb?material_id=155

Visualising table data


A repeater is a way of displaying and customising the style of rows of table data, i.e. rather than using a table control, which renders the data in a grid layout.

The layout and style you choose is automatically applied to each row in the table. 

You can also nest repeaters for more complex layouts, e.g. to show order lines within orders.

Because repeater rows are essentially custom formatted table rows, the Current row concept applies here too. For example, adding a button within a repeater row will cause the table row that it represents to become the current row. 

Steps


1

If you haven't already, create and populate a basic table using a script.

Go to Introduction to tables tutorial

2

Drag and drop a Repeater control onto a form, and select the table.

3

Select your table fields from the Tables tab and drag and drop them under the Repeater Row in the Outline view:

4

Save  and run  your form. You'll see the data in your table displayed on your page. 

5

Go back to the Studio, and add some styling to your repeater row.

Make your row 150px wide and add a blue border.

Save and run.

6

You can add number and type of controls to your repeater row, and add any styling and layout.

Have a go!

Related